Browse Source

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

pull/5252/head
Vladyslav_Prykhodko 5 years ago
committed by Andrew Shvayka
parent
commit
547055bb4e
  1. 2
      ui-ngx/src/app/core/api/data-aggregator.ts

2
ui-ngx/src/app/core/api/data-aggregator.ts

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

Loading…
Cancel
Save