react-crud-mobile 1.0.637 → 1.0.639

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.
@@ -1080,6 +1080,7 @@ function UIQuantity(props) {
1080
1080
  }
1081
1081
 
1082
1082
  function UIModal(props) {
1083
+ var _main$dialog2;
1083
1084
  var _useState = React.useState(false),
1084
1085
  modalVisible = _useState[0],
1085
1086
  setModalVisible = _useState[1];
@@ -1154,7 +1155,7 @@ function UIModal(props) {
1154
1155
  if (!curr) {
1155
1156
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
1156
1157
  }
1157
- if (curr.uuid !== main.dialog.uuid) {
1158
+ if (curr.uuid !== ((_main$dialog2 = main.dialog) == null ? void 0 : _main$dialog2.uuid)) {
1158
1159
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
1159
1160
  }
1160
1161
  var headerRight = reactCrudUtils.ComponentUtils.getDefine(props, 'header', 'right');