File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ export function TracesTable(props: TracesTableProps) {
373
373
const annotation = (
374
374
row . original
375
375
. spanAnnotationSummaries as TracesTable_spans$data [ "rootSpans" ] [ "edges" ] [ number ] [ "rootSpan" ] [ "spanAnnotationSummaries" ]
376
- ) . find ( ( annotation ) => annotation . name === name ) ;
376
+ ) ? .find ( ( annotation ) => annotation . name === name ) ;
377
377
if ( ! annotation ) {
378
378
return null ;
379
379
}
@@ -392,7 +392,7 @@ export function TracesTable(props: TracesTableProps) {
392
392
const annotation = (
393
393
row . original
394
394
. spanAnnotationSummaries as TracesTable_spans$data [ "rootSpans" ] [ "edges" ] [ number ] [ "rootSpan" ] [ "spanAnnotationSummaries" ]
395
- ) . find ( ( annotation ) => annotation . name === name ) ;
395
+ ) ? .find ( ( annotation ) => annotation . name === name ) ;
396
396
if ( ! annotation ) {
397
397
return null ;
398
398
}
You can’t perform that action at this time.
0 commit comments