Transformations: fix bug in seriesToRowsTransformer when a timeserie … (#72217)

* Transformations: fix bug in seriesToRowsTransformer when a timeserie is empty
This commit is contained in:
Ludovic Viaud 2023-07-25 11:24:19 +02:00 committed by GitHub
parent 376ab3f3ca
commit 2bc1b5b1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ export const seriesToRowsTransformer: DataTransformerInfo<SeriesToRowsTransforme
return data;
}
data = data.filter((frame) => frame.length > 0);
if (!isTimeSeriesFrames(data)) {
return data;
}