react-crud-mobile 1.3.256 → 1.3.258
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/UIModal.tsx +3 -3
@@ -1385,7 +1385,6 @@ function UIModal(_ref) {
|
|
1385
1385
|
index = _useState2[0];
|
1386
1386
|
var dialog = scope.currentDialog;
|
1387
1387
|
//v1
|
1388
|
-
console.log(dialog);
|
1389
1388
|
var label = scope.getLabel();
|
1390
1389
|
var theme = scope.getTheme();
|
1391
1390
|
var headerStyle = reactCrudUtils.Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
|
@@ -1407,9 +1406,10 @@ function UIModal(_ref) {
|
|
1407
1406
|
};
|
1408
1407
|
var curr = dialog == null ? void 0 : dialog.crud;
|
1409
1408
|
var main = reactCrudUtils.ViewUtils.getCrud('view');
|
1410
|
-
if (!
|
1409
|
+
if (!dialog) {
|
1411
1410
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
1412
1411
|
}
|
1412
|
+
if (dialog.debug) console.log(dialog);
|
1413
1413
|
if (curr.uuid !== ((_main$dialog = main.dialog) == null || (_main$dialog = _main$dialog.crud) == null ? void 0 : _main$dialog.uuid)) {
|
1414
1414
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
1415
1415
|
}
|