Commit 3362ab37dad255e9e1c7d4a77207a31854c68da6
1 parent
9d8c144e
Fix show dashboard logo in fullscreen mode
Showing
2 changed files
with
2 additions
and
2 deletions
... | ... | @@ -56,7 +56,7 @@ |
56 | 56 | [syncStateWithQueryParam]="syncStateWithQueryParam" |
57 | 57 | [states]="dashboardConfiguration.states"> |
58 | 58 | </tb-states-component> |
59 | - <img *ngIf="showDashboardLogo() && isFullscreen" [src]="dashboardLogo" | |
59 | + <img *ngIf="showDashboardLogo()" [src]="dashboardLogo" | |
60 | 60 | aria-label="dashboard_logo" class="dashboard_logo"/> |
61 | 61 | </div> |
62 | 62 | <div class="tb-dashboard-action-panel" fxFlex="1 0 auto" fxLayout="row-reverse" | ... | ... |
... | ... | @@ -488,7 +488,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC |
488 | 488 | public showDashboardLogo(): boolean { |
489 | 489 | if (this.dashboard.configuration.settings && |
490 | 490 | isDefined(this.dashboard.configuration.settings.showDashboardLogo)) { |
491 | - return this.dashboard.configuration.settings.showDashboardLogo; | |
491 | + return this.dashboard.configuration.settings.showDashboardLogo && (this.forceFullscreen || this.singlePageMode || this.isFullscreen); | |
492 | 492 | } else { |
493 | 493 | return false; |
494 | 494 | } | ... | ... |