Browse Source

change variable name to understandable

pull/14048/head
Maksym Tsymbarov 1 year ago
parent
commit
b53c77467c
  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 check = !this.forceFullscreen || this.isMobileApp;
return this.dashboard.configuration.settings.hideToolbar && check;
const isForcedToDisplayToolbar = !this.forceFullscreen || this.isMobileApp;
return this.dashboard.configuration.settings.hideToolbar && isForcedToDisplayToolbar;
} else {
return false;
}

Loading…
Cancel
Save