Graph (old): fix null interval insertion, again (follow-up to #46069) (#46139)

This commit is contained in:
Leon Sorokin
2022-03-03 02:02:18 -06:00
committed by GitHub
parent a8b90d9a25
commit 89140c8353

View File

@@ -32,13 +32,14 @@ export class DataProcessor {
for (let i = 0; i < dataList.length; i++) {
let series = dataList[i];
const { timeField } = getTimeField(series);
let { timeField } = getTimeField(series);
if (!timeField) {
continue;
}
series = applyNullInsertThreshold(series, timeField.name);
timeField = getTimeField(series).timeField!; // use updated length
for (let j = 0; j < series.fields.length; j++) {
const field = series.fields[j];