react-crud-mobile 1.3.268 → 1.3.270

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.
@@ -1365,7 +1365,7 @@ function UIToast() {
1365
1365
  }
1366
1366
 
1367
1367
  function UIModal(props) {
1368
- var _main$dialog, _theme$styles;
1368
+ var _theme$styles;
1369
1369
  var owner = props.scope;
1370
1370
  var _useState = useState(0),
1371
1371
  index = _useState[0],
@@ -1381,7 +1381,7 @@ function UIModal(props) {
1381
1381
  setIndex(++index);
1382
1382
  };
1383
1383
  if (dialog.debug) console.log(dialog);
1384
- var modalVisible = curr.uuid === ((_main$dialog = main.dialog) == null || (_main$dialog = _main$dialog.crud) == null ? void 0 : _main$dialog.uuid);
1384
+ //const modalVisible = curr.uuid === main.dialog?.crud?.uuid;
1385
1385
  var scope = dialog.scope;
1386
1386
  var label = scope.getLabel();
1387
1387
  var theme = scope.getTheme();
@@ -1505,7 +1505,7 @@ function UIModal(props) {
1505
1505
  children: /*#__PURE__*/jsx(Modal, {
1506
1506
  animationType: "slide",
1507
1507
  transparent: true,
1508
- visible: modalVisible,
1508
+ visible: true,
1509
1509
  onRequestClose: onClose,
1510
1510
  children: /*#__PURE__*/jsx(ModalInner, {})
1511
1511
  }, key)