@sumaris-net/ngx-components 2.4.124 → 2.4.126

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.
@@ -22706,7 +22706,7 @@ class MenuItems {
22706
22706
  const hasProfile = AccountUtils.hasMinProfile(account, item.profile);
22707
22707
  if (!hasProfile) {
22708
22708
  if (opts.debug)
22709
- console.debug(`${opts && opts.logPrefix || '[menu]'} Hide item '${item.title}': need the min profile '${item.profile}' to access path '${item.path}'`);
22709
+ console.debug(`${opts && opts.logPrefix || '[menu-service]'} Hide item '${item.title}': need the min profile '${item.profile}' to access path '${item.path}'`);
22710
22710
  return false;
22711
22711
  }
22712
22712
  }
@@ -22714,7 +22714,7 @@ class MenuItems {
22714
22714
  const hasExactProfile = AccountUtils.hasExactProfile(account, item.exactProfile);
22715
22715
  if (!hasExactProfile) {
22716
22716
  if (opts.debug)
22717
- console.debug(`${opts && opts.logPrefix || '[menu]'} Hide item '${item.title}': need exact profile '${item.exactProfile}' to access path '${item.path}'`);
22717
+ console.debug(`${opts && opts.logPrefix || '[menu-service]'} Hide item '${item.title}': need exact profile '${item.exactProfile}' to access path '${item.path}'`);
22718
22718
  return false;
22719
22719
  }
22720
22720
  }
@@ -22724,7 +22724,7 @@ class MenuItems {
22724
22724
  const isEnableByConfig = config && config.properties[item.ifProperty] === 'true';
22725
22725
  if (!isEnableByConfig) {
22726
22726
  if (opts.debug)
22727
- console.debug('[menu] Config property \'' + item.ifProperty + '\' not \'true\' for ', item.path);
22727
+ console.debug('[menu-service] Config property \'' + item.ifProperty + '\' not \'true\' for ', item.path);
22728
22728
  return false;
22729
22729
  }
22730
22730
  }
@@ -22878,7 +22878,7 @@ class MenuService extends StartableObservableService {
22878
22878
  // TODO Restore old excluded items
22879
22879
  // this.addSubMenuItems();
22880
22880
  }));
22881
- return this._staticItems;
22881
+ return undefined; // not yet loaded
22882
22882
  }
22883
22883
  async loadMenuItems(config, account) {
22884
22884
  if (this._debug)
@@ -28843,7 +28843,6 @@ class AppTable {
28843
28843
  this.registerSubscription(this.dataSource.rowsSubject
28844
28844
  // restore the 'adding' selection (for example after a page or sort change)
28845
28845
  .subscribe((rows) => {
28846
- this.visibleRowCount = rows.length;
28847
28846
  selectionChangedPrevented = true;
28848
28847
  try {
28849
28848
  const permanentSelectionIds = (this.permanentSelection.selected || []).map(EntityUtils.getId);