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 {
if (isDefined(this.dashboard.configuration?.settings?.hideToolbar)) {
const isForcedToDisplayToolbar = !this.forceFullscreen || this.isMobileApp;
return this.dashboard.configuration.settings.hideToolbar && isForcedToDisplayToolbar;
const canApplyHideSetting = !this.forceFullscreen || this.isMobileApp;
return this.dashboard.configuration.settings.hideToolbar && canApplyHideSetting;
} else {
return false;
}

Loading…
Cancel
Save