Browse Source
Merge pull request #14048 from mtsymbarov-del/fix/logout-btn
Added ability to access logout button when hide toolbar option is enabled on dashboard
pull/14260/head
Igor Kulikov
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts
|
|
|
@ -649,9 +649,9 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC |
|
|
|
} |
|
|
|
|
|
|
|
private hideToolbarSetting(): boolean { |
|
|
|
if (this.dashboard.configuration.settings && |
|
|
|
isDefined(this.dashboard.configuration.settings.hideToolbar)) { |
|
|
|
return this.dashboard.configuration.settings.hideToolbar; |
|
|
|
if (isDefined(this.dashboard.configuration?.settings?.hideToolbar)) { |
|
|
|
const canApplyHideSetting = !this.forceFullscreen || this.isMobileApp; |
|
|
|
return this.dashboard.configuration.settings.hideToolbar && canApplyHideSetting; |
|
|
|
} else { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|