Skip to content

Commit c3bfb5a

Browse files
committed
Fix fraction
1 parent eaf9231 commit c3bfb5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/codeAnalytics/InsightListView/EndpointInsight.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,7 @@ export class EPNPlusSpansListViewItemsCreator
348348
}
349349

350350
let fractionSt = "";
351-
const fraction =
352-
codeObjectsInsight.spans.firstOrDefault()?.fraction;
351+
const fraction = span.fraction;
353352
if (fraction < 0.01) {
354353
fractionSt = "minimal";
355354
} else {

0 commit comments

Comments
 (0)