react-crud-mobile 1.3.379 → 1.3.380

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.
@@ -1763,8 +1763,12 @@ function UIOrder(props) {
1763
1763
  }, [items]);
1764
1764
  var onChange = function onChange(updated) {
1765
1765
  var array = [];
1766
+ var items = scope.getItems();
1767
+ items.splice(0);
1766
1768
  reactCrudUtils.Utils.each(updated, function (o) {
1767
- array.push(o.object);
1769
+ var v = o.object;
1770
+ array.push(v);
1771
+ items.push(v);
1768
1772
  });
1769
1773
  scope.changeValue(array);
1770
1774
  };