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.
@@ -2217,6 +2217,7 @@ function UIElement(props) {
2217
2217
  var _event$dialog;
2218
2218
  var event = Utils.nvl(args == null ? void 0 : args.event, {});
2219
2219
  if (event != null && event.debug) console.log(args);
2220
+ var caller = args.caller;
2220
2221
  var main = ViewUtils.getCrud('view');
2221
2222
  var parent = main.dialog;
2222
2223
  var crud = args.crud;
@@ -2225,6 +2226,7 @@ function UIElement(props) {
2225
2226
  var def = {};
2226
2227
  var rowItem = null;
2227
2228
  var component = event == null ? void 0 : event.component;
2229
+ var elo = Utils.nvl(caller == null ? void 0 : caller.original, original);
2228
2230
  if (crud.is('row')) {
2229
2231
  def.parent = crud.parent.parent;
2230
2232
  def.search = crud.parent;
@@ -2251,8 +2253,8 @@ function UIElement(props) {
2251
2253
  scope: scope
2252
2254
  }, def));
2253
2255
  var el = {
2254
- label: original.label,
2255
- icon: original.icon,
2256
+ label: elo.label,
2257
+ icon: elo.icon,
2256
2258
  type: 'dialog'
2257
2259
  };
2258
2260
  var close = (_event$dialog = event.dialog) == null ? void 0 : _event$dialog.close;