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
@@ -2293,9 +2293,9 @@ function UIElement(props) {
|
|
2293
2293
|
var next = Utils.nvl(main.parent, null);
|
2294
2294
|
main.dialog = next;
|
2295
2295
|
scope.currentDialog = next;
|
2296
|
-
if (current
|
2296
|
+
if (current) {
|
2297
2297
|
var close = current.close;
|
2298
|
-
current.
|
2298
|
+
if (current.update) current.update();
|
2299
2299
|
if (close) {
|
2300
2300
|
if (close != null && close.debug) console.log('Fechando');
|
2301
2301
|
current.scope.call('close', {
|
@@ -2303,8 +2303,8 @@ function UIElement(props) {
|
|
2303
2303
|
});
|
2304
2304
|
}
|
2305
2305
|
}
|
2306
|
-
if (next != null && next.
|
2307
|
-
next.
|
2306
|
+
if (next != null && next.update) {
|
2307
|
+
next.update();
|
2308
2308
|
}
|
2309
2309
|
};
|
2310
2310
|
return /*#__PURE__*/jsx(CrudContext.Provider, {
|