labellife-design-tool 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1621,6 +1621,15 @@ var Store = mobxStateTree.types.model('Store', {
1621
1621
  return el.id !== id;
1622
1622
  });
1623
1623
  },
1624
+ _unresolveInputField: function _unresolveInputField(el) {
1625
+ // Re-insert at the front so it becomes the next field shown (back navigation)
1626
+ var alreadyPending = self._pendingInputFields.some(function (f) {
1627
+ return f.id === el.id;
1628
+ });
1629
+ if (!alreadyPending) {
1630
+ self._pendingInputFields.unshift(el);
1631
+ }
1632
+ },
1624
1633
  clearPendingInputFields: function clearPendingInputFields() {
1625
1634
  self._pendingInputFields = [];
1626
1635
  }