Browse Source

change naming

pull/14048/head
Maksym Tsymbarov 1 year ago
parent
commit
575cf960c9
  1. 4
      ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

4
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

@ -650,8 +650,8 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
private hideToolbarSetting(): boolean { private hideToolbarSetting(): boolean {
if (isDefined(this.dashboard.configuration?.settings?.hideToolbar)) { if (isDefined(this.dashboard.configuration?.settings?.hideToolbar)) {
const isForcedToDisplayToolbar = !this.forceFullscreen || this.isMobileApp; const canApplyHideSetting = !this.forceFullscreen || this.isMobileApp;
return this.dashboard.configuration.settings.hideToolbar && isForcedToDisplayToolbar; return this.dashboard.configuration.settings.hideToolbar && canApplyHideSetting;
} else { } else {
return false; return false;
} }

Loading…
Cancel
Save