UI: Fixed not updated data for timeseries widget in NONE aggregation type

This commit is contained in:
Vladyslav_Prykhodko 2021-09-16 11:47:00 +03:00 committed by Andrew Shvayka
parent bba989e8ea
commit 547055bb4e

View File

@ -308,7 +308,7 @@ export class DataAggregator {
} }
aggKeyData.delete(aggTimestamp); aggKeyData.delete(aggTimestamp);
this.updatedData = true; this.updatedData = true;
} else if (aggTimestamp < this.endTs) { } else if (aggTimestamp < this.endTs || this.noAggregation) {
const kvPair: [number, any] = [aggTimestamp, aggData.aggValue]; const kvPair: [number, any] = [aggTimestamp, aggData.aggValue];
keyData.push(kvPair); keyData.push(kvPair);
} }