@sumaris-net/ngx-components 2.4.123 → 2.4.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.
@@ -22899,6 +22899,11 @@ class MenuService extends StartableObservableService {
22899
22899
  // Skip is already loaded
22900
22900
  if (res.find((i) => MenuItems.isSame(i, item)))
22901
22901
  return res;
22902
+ // Reuse existing id, if possible
22903
+ const existingItem = this.data?.find((i) => MenuItems.isSame(i, item));
22904
+ if (existingItem) {
22905
+ item.id = existingItem.id;
22906
+ }
22902
22907
  if (item.after) {
22903
22908
  const index = res.findIndex(i => i.title === item.after);
22904
22909
  if (index !== -1) {