react-crud-mobile 1.0.753 → 1.0.754
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.
- package/dist/react-crud-mobile.cjs.development.js +2 -2
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +2 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIList.tsx +2 -2
|
@@ -844,14 +844,14 @@ function UIList(props) {
|
|
|
844
844
|
return row;
|
|
845
845
|
};
|
|
846
846
|
var LocalData = function LocalData() {
|
|
847
|
-
var _useState = React.useState(
|
|
847
|
+
var _useState = React.useState(scope.updateIndex),
|
|
848
848
|
index = _useState[0],
|
|
849
849
|
setIndex = _useState[1];
|
|
850
850
|
scope.update = function () {
|
|
851
851
|
scope.updateIndex = ++index;
|
|
852
852
|
setIndex(index);
|
|
853
853
|
};
|
|
854
|
-
var keyData = scope.key('data'
|
|
854
|
+
var keyData = scope.key('data');
|
|
855
855
|
var items = reactCrudUtils.Utils.call(function () {
|
|
856
856
|
var _original$list;
|
|
857
857
|
var list = reactCrudUtils.Utils.nvl(scope.getItems(), []);
|