Browse Source

Timewindow: fixed updating aggregation interval

pull/13753/head
Ekaterina Chantsova 1 year ago
parent
commit
81a5a3c3ea
  1. 5
      ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts

5
ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts

@ -421,6 +421,7 @@ export class TimewindowPanelComponent extends PageComponent implements OnInit, O
realtimeType: timewindowFormValue.realtime.realtimeType,
timewindowMs: timewindowFormValue.realtime.timewindowMs,
quickInterval: timewindowFormValue.realtime.quickInterval,
interval: timewindowFormValue.realtime.interval,
}};
} else {
this.timewindow.history = {...this.timewindow.history, ...{
@ -428,13 +429,11 @@ export class TimewindowPanelComponent extends PageComponent implements OnInit, O
timewindowMs: timewindowFormValue.history.timewindowMs,
fixedTimewindow: timewindowFormValue.history.fixedTimewindow,
quickInterval: timewindowFormValue.history.quickInterval,
interval: timewindowFormValue.history.interval,
}};
}
if (this.aggregation) {
this.timewindow.realtime.interval = timewindowFormValue.realtime.interval;
this.timewindow.history.interval = timewindowFormValue.history.interval;
this.timewindow.aggregation = {
type: timewindowFormValue.aggregation.type,
limit: timewindowFormValue.aggregation.limit

Loading…
Cancel
Save