@acorex/platform 20.3.0-next.17 → 20.3.0-next.19

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.
@@ -26,9 +26,9 @@ import { AXTooltipModule } from '@acorex/components/tooltip';
26
26
  import * as i10 from '@acorex/core/translation';
27
27
  import { AXTranslationService, AXTranslationModule, translateSync } from '@acorex/core/translation';
28
28
  import { AXPAuthModule } from '@acorex/platform/auth';
29
+ import { AXPThemeLayoutBlockComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutToolbarComponent, AXPStateMessageComponent, AXPQueryFiltersComponent, AXPQuerySortsComponent, AXPQueryViewsComponent, AXPQueryColumnsComponent, AXPThemeLayoutStartSideComponent } from '@acorex/platform/layout/components';
29
30
  import * as i7$1 from '@acorex/platform/layout/widget-core';
30
31
  import { AXPWidgetCoreModule } from '@acorex/platform/layout/widget-core';
31
- import { AXPThemeLayoutBlockComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutToolbarComponent, AXPStateMessageComponent, AXPQueryFiltersComponent, AXPQuerySortsComponent, AXPQueryViewsComponent, AXPQueryColumnsComponent, AXPThemeLayoutStartSideComponent } from '@acorex/platform/layout/components';
32
32
  import { AXPWidgetsModule } from '@acorex/platform/layout/widgets';
33
33
  import { DragDropModule } from '@angular/cdk/drag-drop';
34
34
  import * as i1 from '@angular/common';
@@ -520,7 +520,7 @@ class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponent {
520
520
  // const defaultAction = allItems.find((c) => (c as any).default) || allItems[0];
521
521
  const defaultAction = allItems.find((c) => {
522
522
  const commandName = c.name.split('&')[0];
523
- return c.default || commandName === 'open-entity';
523
+ return (c.default || commandName === 'open-entity') && !c.disabled;
524
524
  });
525
525
  if (!defaultAction) {
526
526
  return;
@@ -703,4 +703,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
703
703
  }], ctorParameters: () => [{ type: i1$1.AXPlatform }] });
704
704
 
705
705
  export { AXPEntityMasterListViewComponent };
706
- //# sourceMappingURL=acorex-platform-themes-default-entity-master-list-view.component-DjNvH3OA.mjs.map
706
+ //# sourceMappingURL=acorex-platform-themes-default-entity-master-list-view.component-nDHfQQ3O.mjs.map