react-crud-mobile 1.3.270 → 1.3.274

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.
@@ -2226,6 +2226,7 @@ function UIElement(props) {
2226
2226
  var _event$dialog;
2227
2227
  var event = reactCrudUtils.Utils.nvl(args == null ? void 0 : args.event, {});
2228
2228
  if (event != null && event.debug) console.log(args);
2229
+ var caller = args.caller;
2229
2230
  var main = reactCrudUtils.ViewUtils.getCrud('view');
2230
2231
  var parent = main.dialog;
2231
2232
  var crud = args.crud;
@@ -2234,6 +2235,7 @@ function UIElement(props) {
2234
2235
  var def = {};
2235
2236
  var rowItem = null;
2236
2237
  var component = event == null ? void 0 : event.component;
2238
+ var elo = reactCrudUtils.Utils.nvl(caller == null ? void 0 : caller.original, original);
2237
2239
  if (crud.is('row')) {
2238
2240
  def.parent = crud.parent.parent;
2239
2241
  def.search = crud.parent;
@@ -2260,8 +2262,8 @@ function UIElement(props) {
2260
2262
  scope: scope
2261
2263
  }, def));
2262
2264
  var el = {
2263
- label: original.label,
2264
- icon: original.icon,
2265
+ label: elo.label,
2266
+ icon: elo.icon,
2265
2267
  type: 'dialog'
2266
2268
  };
2267
2269
  var close = (_event$dialog = event.dialog) == null ? void 0 : _event$dialog.close;