Browse Source

Allow hide dashboard toolbar option for public dashboards

pull/14951/head
Paolo Cristiani 6 months ago
committed by Viacheslav Klimov
parent
commit
c93ce94b9e
  1. 2
      ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

2
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

@ -653,7 +653,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
private hideToolbarSetting(): boolean {
if (isDefined(this.dashboard.configuration?.settings?.hideToolbar)) {
const canApplyHideSetting = !this.forceFullscreen || this.isMobileApp;
const canApplyHideSetting = !this.forceFullscreen || this.isMobileApp || this.isPublicUser();
return this.dashboard.configuration.settings.hideToolbar && canApplyHideSetting;
} else {
return false;

Loading…
Cancel
Save