@acorex/platform 20.7.21 → 20.7.22

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.
@@ -933,6 +933,7 @@ class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent {
933
933
  this.route = inject(ActivatedRoute);
934
934
  this.eventService = inject(AXPBroadcastEventService);
935
935
  this.deviceService = inject(AXPDeviceService);
936
+ this.settingsService = inject(AXPSettingsService);
936
937
  this.destroyed$ = new Subject();
937
938
  this.form = viewChild('form', ...(ngDevMode ? [{ debugName: "form" }] : []));
938
939
  this.widgetContainer = viewChild(AXPWidgetContainerComponent, ...(ngDevMode ? [{ debugName: "widgetContainer" }] : []));
@@ -1083,6 +1084,10 @@ class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent {
1083
1084
  }
1084
1085
  }
1085
1086
  async getPageBadge() {
1087
+ const showPageBadge = await this.settingsService.get(AXPCommonSettings.ShowPageBadge);
1088
+ if (!showPageBadge) {
1089
+ return null;
1090
+ }
1086
1091
  const adapter = this.vm.adapter();
1087
1092
  if (!adapter?.getPageBadge) {
1088
1093
  return null;