Skip to content

Commit

Permalink
Fix sub_label score in search detail dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Oct 22, 2024
1 parent 8b47662 commit 78e4535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/overlay/detail/SearchDetailDialog.tsx
Original file line number Diff line number Diff line change
@@ -296,7 +296,7 @@ function ObjectDetailsTab({
}

if (search.sub_label) {
return Math.round((search.data?.top_score ?? 0) * 100);
return Math.round((search.data?.sub_label_score ?? 0) * 100);
} else {
return undefined;
}

0 comments on commit 78e4535

Please sign in to comment.