react-crud-mobile 1.0.622 → 1.0.624
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 +4 -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 +4 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/core/UIListRow.tsx +5 -2
|
@@ -710,7 +710,9 @@ function UIListRow(props) {
|
|
|
710
710
|
var _useState2 = React.useState(0),
|
|
711
711
|
updateIndex = _useState2[0],
|
|
712
712
|
setUpdateIndex = _useState2[1];
|
|
713
|
+
var key = scope.key('item');
|
|
713
714
|
row.update = function () {
|
|
715
|
+
scope.updateIndex = scope.updateIndex + 1;
|
|
714
716
|
setUpdateIndex(++updateIndex);
|
|
715
717
|
};
|
|
716
718
|
if (!original.click) {
|
|
@@ -721,7 +723,7 @@ function UIListRow(props) {
|
|
|
721
723
|
crud: row.crud,
|
|
722
724
|
children: props.children
|
|
723
725
|
})
|
|
724
|
-
},
|
|
726
|
+
}, key);
|
|
725
727
|
}
|
|
726
728
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
|
|
727
729
|
style: getRowStyle(),
|
|
@@ -735,7 +737,7 @@ function UIListRow(props) {
|
|
|
735
737
|
crud: row.crud,
|
|
736
738
|
children: props.children
|
|
737
739
|
})
|
|
738
|
-
},
|
|
740
|
+
}, key);
|
|
739
741
|
};
|
|
740
742
|
return /*#__PURE__*/jsxRuntime.jsx(ListItem, {});
|
|
741
743
|
}
|