react-crud-mobile 1.3.276 → 1.3.277
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 +1 -6
- 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 +1 -6
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +1 -5
@@ -2297,16 +2297,11 @@ function UIElement(props) {
|
|
2297
2297
|
scope.update();
|
2298
2298
|
};
|
2299
2299
|
scope.dialogHide = function (args) {
|
2300
|
-
var _main$dialog;
|
2301
2300
|
var main = reactCrudUtils.ViewUtils.getCrud('view');
|
2302
2301
|
var current = main.dialog;
|
2303
2302
|
var next = reactCrudUtils.Utils.nvl(main.parent, null);
|
2304
2303
|
main.dialog = next;
|
2305
2304
|
scope.currentDialog = next;
|
2306
|
-
if ((_main$dialog = main.dialog) != null && (_main$dialog = _main$dialog.crud) != null && _main$dialog.scope) {
|
2307
|
-
var _main$dialog2;
|
2308
|
-
(_main$dialog2 = main.dialog) == null || _main$dialog2.crud.scope.update();
|
2309
|
-
}
|
2310
2305
|
if (current != null && current.scope) {
|
2311
2306
|
var close = current.close;
|
2312
2307
|
current.scope.update();
|
@@ -2317,7 +2312,7 @@ function UIElement(props) {
|
|
2317
2312
|
});
|
2318
2313
|
}
|
2319
2314
|
}
|
2320
|
-
if (next.scope
|
2315
|
+
if (next != null && next.scope) {
|
2321
2316
|
next.scope.update();
|
2322
2317
|
}
|
2323
2318
|
};
|