react-crud-mobile 1.3.276 → 1.3.277

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.
@@ -2288,16 +2288,11 @@ function UIElement(props) {
2288
2288
  scope.update();
2289
2289
  };
2290
2290
  scope.dialogHide = function (args) {
2291
- var _main$dialog;
2292
2291
  var main = ViewUtils.getCrud('view');
2293
2292
  var current = main.dialog;
2294
2293
  var next = Utils.nvl(main.parent, null);
2295
2294
  main.dialog = next;
2296
2295
  scope.currentDialog = next;
2297
- if ((_main$dialog = main.dialog) != null && (_main$dialog = _main$dialog.crud) != null && _main$dialog.scope) {
2298
- var _main$dialog2;
2299
- (_main$dialog2 = main.dialog) == null || _main$dialog2.crud.scope.update();
2300
- }
2301
2296
  if (current != null && current.scope) {
2302
2297
  var close = current.close;
2303
2298
  current.scope.update();
@@ -2308,7 +2303,7 @@ function UIElement(props) {
2308
2303
  });
2309
2304
  }
2310
2305
  }
2311
- if (next.scope.update()) {
2306
+ if (next != null && next.scope) {
2312
2307
  next.scope.update();
2313
2308
  }
2314
2309
  };