react-crud-mobile 1.3.91 → 1.3.92
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 -4
- 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 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +1 -1
|
@@ -1337,7 +1337,7 @@ function UIToast() {
|
|
|
1337
1337
|
|
|
1338
1338
|
var _excluded = ["scope", "open", "dialog"];
|
|
1339
1339
|
function UIModal(_ref) {
|
|
1340
|
-
var _theme$styles, _scope$
|
|
1340
|
+
var _theme$styles, _scope$currentDialog3, _main$dialog2;
|
|
1341
1341
|
var scope = _ref.scope,
|
|
1342
1342
|
open = _ref.open,
|
|
1343
1343
|
dialog = _ref.dialog,
|
|
@@ -1405,8 +1405,8 @@ function UIModal(_ref) {
|
|
|
1405
1405
|
scope.update();
|
|
1406
1406
|
};
|
|
1407
1407
|
scope.dialogHide = function (args) {
|
|
1408
|
-
var _main$dialog;
|
|
1409
|
-
var old = scope.currentDialog;
|
|
1408
|
+
var _scope$currentDialog2, _main$dialog;
|
|
1409
|
+
var old = (_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.crud;
|
|
1410
1410
|
main.dialog = reactCrudUtils.Utils.nvl(old.dialog, null);
|
|
1411
1411
|
scope.currentDialog = null;
|
|
1412
1412
|
toggle(false);
|
|
@@ -1415,7 +1415,7 @@ function UIModal(_ref) {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
scope.update();
|
|
1417
1417
|
};
|
|
1418
|
-
var curr = (_scope$
|
|
1418
|
+
var curr = (_scope$currentDialog3 = scope.currentDialog) == null ? void 0 : _scope$currentDialog3.crud;
|
|
1419
1419
|
if (!curr) {
|
|
1420
1420
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
1421
1421
|
}
|