|
|
|
@ -58,7 +58,7 @@ import { |
|
|
|
} from '@app/shared/models/dashboard.models'; |
|
|
|
import { WINDOW } from '@core/services/window.service'; |
|
|
|
import { WindowMessage } from '@shared/models/window-message.model'; |
|
|
|
import { deepClean, deepClone, guid, isDefined, isDefinedAndNotNull, isNotEmptyStr } from '@app/core/utils'; |
|
|
|
import { deepClone, guid, isDefined, isDefinedAndNotNull, isNotEmptyStr } from '@app/core/utils'; |
|
|
|
import { |
|
|
|
DashboardContext, |
|
|
|
DashboardPageInitData, |
|
|
|
@ -1225,7 +1225,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC |
|
|
|
this.setEditMode(false, false); |
|
|
|
} else { |
|
|
|
let reInitDashboard = false; |
|
|
|
this.dashboard.configuration.timewindow = deepClean(this.dashboardCtx.dashboardTimewindow); |
|
|
|
this.dashboard.configuration.timewindow = this.dashboardCtx.dashboardTimewindow; |
|
|
|
this.dashboardService.saveDashboard(this.dashboard).pipe( |
|
|
|
catchError((err) => { |
|
|
|
if (err.status === HttpStatusCode.Conflict) { |
|
|
|
|