Browse Source

UI: fixed updating timewindow configuration

pull/13566/head
Ekaterina Chantsova 1 year ago
parent
commit
1042ab8d16
  1. 2
      ui-ngx/src/app/shared/models/time/time.models.ts

2
ui-ngx/src/app/shared/models/time/time.models.ts

@ -431,7 +431,7 @@ export const initModelFromDefaultTimewindow = (value: Timewindow, quickIntervalO
if (isDefined(value.history.quickInterval)) {
model.history.quickInterval = value.history.quickInterval;
}
if (isDefined(value.history.fixedTimewindow)) {
if (isDefinedAndNotNull(value.history.fixedTimewindow)) {
if (isDefined(value.history.fixedTimewindow.startTimeMs)) {
model.history.fixedTimewindow.startTimeMs = value.history.fixedTimewindow.startTimeMs;
}

Loading…
Cancel
Save