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
package/package.json
CHANGED
@@ -711,10 +711,10 @@ export default function UIElement(props: ElementType) {
|
|
711
711
|
main.dialog = next;
|
712
712
|
scope.currentDialog = next;
|
713
713
|
|
714
|
-
if (current
|
714
|
+
if (current) {
|
715
715
|
const close = current.close;
|
716
716
|
|
717
|
-
current.
|
717
|
+
if (current.update) current.update();
|
718
718
|
|
719
719
|
if (close) {
|
720
720
|
if (close?.debug) console.log('Fechando');
|
@@ -722,8 +722,8 @@ export default function UIElement(props: ElementType) {
|
|
722
722
|
}
|
723
723
|
}
|
724
724
|
|
725
|
-
if (next?.
|
726
|
-
next.
|
725
|
+
if (next?.update) {
|
726
|
+
next.update();
|
727
727
|
}
|
728
728
|
};
|
729
729
|
|