react-crud-mobile 1.3.277 → 1.3.279
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/UIElement.tsx +4 -4
@@ -2302,9 +2302,9 @@ function UIElement(props) {
|
|
2302
2302
|
var next = reactCrudUtils.Utils.nvl(main.parent, null);
|
2303
2303
|
main.dialog = next;
|
2304
2304
|
scope.currentDialog = next;
|
2305
|
-
if (current
|
2305
|
+
if (current) {
|
2306
2306
|
var close = current.close;
|
2307
|
-
current.
|
2307
|
+
if (current.update) current.update();
|
2308
2308
|
if (close) {
|
2309
2309
|
if (close != null && close.debug) console.log('Fechando');
|
2310
2310
|
current.scope.call('close', {
|
@@ -2312,8 +2312,8 @@ function UIElement(props) {
|
|
2312
2312
|
});
|
2313
2313
|
}
|
2314
2314
|
}
|
2315
|
-
if (next != null && next.
|
2316
|
-
next.
|
2315
|
+
if (next != null && next.update) {
|
2316
|
+
next.update();
|
2317
2317
|
}
|
2318
2318
|
};
|
2319
2319
|
return /*#__PURE__*/jsxRuntime.jsx(CrudContext.Provider, {
|