react-crud-mobile 1.3.95 → 1.3.96
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 -1
- 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 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +2 -1
package/package.json
CHANGED
|
@@ -606,6 +606,7 @@ export default function UIElement(props: ElementType) {
|
|
|
606
606
|
let edit = args.edit === true;
|
|
607
607
|
let def: any = {};
|
|
608
608
|
let rowItem = null;
|
|
609
|
+
let component = args?.event?.component;
|
|
609
610
|
|
|
610
611
|
if (crud.is('row')) {
|
|
611
612
|
def.parent = crud.parent.parent;
|
|
@@ -629,7 +630,7 @@ export default function UIElement(props: ElementType) {
|
|
|
629
630
|
...def,
|
|
630
631
|
});
|
|
631
632
|
|
|
632
|
-
let dialog = { crud: d, parent };
|
|
633
|
+
let dialog = { crud: d, parent, component };
|
|
633
634
|
|
|
634
635
|
main.dialog = dialog;
|
|
635
636
|
scope.toggleDialog(true);
|