@syncfusion/ej2-navigations 20.2.46 → 20.2.48

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.
@@ -2568,10 +2568,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2568
2568
  }
2569
2569
  var navIdx = this.getIndex(idx, isUniqueId);
2570
2570
  var newItem = this.getItem(navIdx);
2571
- newItem.iconCss = item.iconCss || newItem.iconCss;
2572
- newItem.text = item.text || newItem.text;
2573
- newItem.url = item.url || newItem.url;
2574
- newItem.separator = item.separator || newItem.separator;
2571
+ Object.assign(newItem, item);
2575
2572
  };
2576
2573
  MenuBase.prototype.getItem = function (navIdx) {
2577
2574
  navIdx = navIdx.slice();