@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.
@@ -2472,10 +2472,7 @@ let MenuBase = class MenuBase extends Component {
2472
2472
  }
2473
2473
  const navIdx = this.getIndex(idx, isUniqueId);
2474
2474
  const newItem = this.getItem(navIdx);
2475
- newItem.iconCss = item.iconCss || newItem.iconCss;
2476
- newItem.text = item.text || newItem.text;
2477
- newItem.url = item.url || newItem.url;
2478
- newItem.separator = item.separator || newItem.separator;
2475
+ Object.assign(newItem, item);
2479
2476
  }
2480
2477
  getItem(navIdx) {
2481
2478
  navIdx = navIdx.slice();