diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts index 566fa65d12..5983206560 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts +++ b/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; }