Fix sub_label score in search detail dialog

This commit is contained in:
Josh Hawkins 2024-10-22 16:59:38 -05:00
parent 8b47662c30
commit 78e45359db

View File

@ -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;
}