diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index f443c9d44..78796036f 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -287,7 +287,7 @@ function ObjectDetailsTab({ return 0; } - const value = search.data.top_score; + const value = search.data.top_score ?? search.top_score ?? 0; return Math.round(value * 100); }, [search]);