Fix error when using streaming and spans table type
This commit is contained in:
Andre Pereira 2023-10-30 19:31:29 +00:00 committed by GitHub
parent c923e730d5
commit 1ba30b4de3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -690,7 +690,7 @@ export function createTableFrameFromTraceQlQueryAsSpans(
const spanDynamicAttrs: Record<string, FieldDTO> = {};
let hasNameAttribute = false;
data.forEach(
data?.forEach(
(t) =>
t.spanSets?.forEach((ss) => {
ss.attributes?.forEach((attr) => {