Timewindow: fixed updating aggregation interval
This commit is contained in:
parent
d95a00e4af
commit
81a5a3c3ea
@ -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…
x
Reference in New Issue
Block a user