diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/layout/dashboard-layout.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/layout/dashboard-layout.component.ts index 374c6d9b3d..c331578e2b 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/layout/dashboard-layout.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/layout/dashboard-layout.component.ts @@ -94,7 +94,8 @@ export class DashboardLayoutComponent extends PageComponent implements ILayoutCo } ngOnInit(): void { - this.rxSubscriptions.push(this.dashboard.dashboardTimewindowChanged.subscribe( + const dashboardTimewindowChanged = this.parentDashboard ? this.parentDashboard.dashboardTimewindowChanged : this.dashboard.dashboardTimewindowChanged; + this.rxSubscriptions.push(dashboardTimewindowChanged.subscribe( (dashboardTimewindow) => { this.dashboardCtx.dashboardTimewindow = dashboardTimewindow; this.dashboardCtx.runChangeDetection();