react-crud-mobile 1.3.218 → 1.3.220
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 +9 -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 +9 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +5 -2
package/package.json
CHANGED
@@ -125,9 +125,10 @@ export default function UIModal({
|
|
125
125
|
const ModalInner = () => {
|
126
126
|
let Content = () => {
|
127
127
|
if (dialog?.component) {
|
128
|
-
let Aux = dialog?.component;
|
128
|
+
let Aux = dialog?.component({ crud: dialog.crud, scope: dialog.scope });
|
129
129
|
|
130
|
-
|
130
|
+
console.log(Aux);
|
131
|
+
return <>{Aux}</>;
|
131
132
|
}
|
132
133
|
|
133
134
|
return (
|
@@ -139,6 +140,8 @@ export default function UIModal({
|
|
139
140
|
|
140
141
|
let content = <Content />;
|
141
142
|
|
143
|
+
console.log(content);
|
144
|
+
|
142
145
|
if (original.transient) {
|
143
146
|
return <View style={style('modalSafe')}>{content}</View>;
|
144
147
|
}
|