react-crud-mobile 1.3.258 → 1.3.259
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 +5 -5
- 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 +5 -5
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +2 -1
@@ -1378,12 +1378,12 @@ function UIModal(_ref) {
|
|
1378
1378
|
var _theme$styles, _main$dialog;
|
1379
1379
|
var scope = _ref.scope,
|
1380
1380
|
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
1381
|
-
var _useState = React.useState(
|
1382
|
-
|
1383
|
-
setModalVisible = _useState[1];
|
1384
|
-
var _useState2 = React.useState(0),
|
1385
|
-
index = _useState2[0];
|
1381
|
+
var _useState = React.useState(0),
|
1382
|
+
index = _useState[0];
|
1386
1383
|
var dialog = scope.currentDialog;
|
1384
|
+
var _useState2 = React.useState(!reactCrudUtils.Utils.isEmpty(dialog)),
|
1385
|
+
modalVisible = _useState2[0],
|
1386
|
+
setModalVisible = _useState2[1];
|
1387
1387
|
//v1
|
1388
1388
|
var label = scope.getLabel();
|
1389
1389
|
var theme = scope.getTheme();
|