|
|
|
@ -1166,8 +1166,6 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC |
|
|
|
this.filtersUpdated(); |
|
|
|
this.updateLayouts(); |
|
|
|
} |
|
|
|
} else if (!this.widgetEditMode) { |
|
|
|
this.dashboard.configuration.timewindow = this.dashboardCtx.dashboardTimewindow; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -1214,6 +1212,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) { |
|
|
|
|