Browse Source

Merge branch 'master' into develop/3.2

pull/3477/head
Igor Kulikov 6 years ago
parent
commit
85b31df44d
  1. 1
      ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.ts

1
ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.ts

@ -623,6 +623,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
public currentDashboardIdChanged(dashboardId: string) {
if (!this.widgetEditMode) {
this.dashboardCtx.stateController.cleanupPreservedStates();
if (this.currentDashboardScope === 'customer' && this.authUser.authority === Authority.TENANT_ADMIN) {
this.router.navigateByUrl(`customers/${this.currentCustomerId}/dashboards/${dashboardId}`);
} else {

Loading…
Cancel
Save