diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts index 0daabc7611..099eedb5bd 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts @@ -1168,8 +1168,6 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC this.filtersUpdated(); this.updateLayouts(); } - } else if (!this.widgetEditMode) { - this.dashboard.configuration.timewindow = this.dashboardCtx.dashboardTimewindow; } } } @@ -1216,6 +1214,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC this.setEditMode(false, false); } else { let reInitDashboard = false; + this.dashboard.configuration.timewindow = this.dashboardCtx.dashboardTimewindow; this.dashboardService.saveDashboard(this.dashboard).pipe( catchError((err) => { if (err.status === HttpStatusCode.Conflict) {