react-crud-mobile 1.3.256 → 1.3.258

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.
@@ -1376,7 +1376,6 @@ function UIModal(_ref) {
1376
1376
  index = _useState2[0];
1377
1377
  var dialog = scope.currentDialog;
1378
1378
  //v1
1379
- console.log(dialog);
1380
1379
  var label = scope.getLabel();
1381
1380
  var theme = scope.getTheme();
1382
1381
  var headerStyle = Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
@@ -1398,9 +1397,10 @@ function UIModal(_ref) {
1398
1397
  };
1399
1398
  var curr = dialog == null ? void 0 : dialog.crud;
1400
1399
  var main = ViewUtils.getCrud('view');
1401
- if (!curr || dialog) {
1400
+ if (!dialog) {
1402
1401
  return /*#__PURE__*/jsx(Fragment, {});
1403
1402
  }
1403
+ if (dialog.debug) console.log(dialog);
1404
1404
  if (curr.uuid !== ((_main$dialog = main.dialog) == null || (_main$dialog = _main$dialog.crud) == null ? void 0 : _main$dialog.uuid)) {
1405
1405
  return /*#__PURE__*/jsx(Fragment, {});
1406
1406
  }