react-crud-mobile 1.3.122 → 1.3.124

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.
@@ -2114,17 +2114,18 @@ function UIElement(props) {
2114
2114
  edit: edit,
2115
2115
  scope: scope
2116
2116
  }, def));
2117
- var el = {};
2117
+ var el = {
2118
+ label: original.label,
2119
+ icon: original.icon
2120
+ };
2118
2121
  if (typeof event.dialog === 'object') {
2119
- el = _extends({
2120
- label: original.label,
2121
- icon: original.icon
2122
- }, event.dialog);
2122
+ el = _extends({}, el, event.dialog);
2123
2123
  }
2124
2124
  if (event.header) el.header = event.header;
2125
2125
  if (event.label) el.label = event.label;
2126
2126
  if (event.title) el.title = event.title;
2127
2127
  el.label = reactCrudUtils.Utils.nvl(el.label, el.title);
2128
+ console.log(el);
2128
2129
  var dialogScope = reactCrudUtils.ScopeUtils.create(_extends({
2129
2130
  parent: scope,
2130
2131
  crud: d