mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
fix score
This commit is contained in:
parent
9d498ae0ea
commit
ae679ac15c
@ -90,7 +90,10 @@ export default function SearchThumbnail({
|
||||
onClick={() => onClick(searchResult)}
|
||||
>
|
||||
{getIconForLabel(objectLabel, "size-3 text-white")}
|
||||
{Math.round(searchResult.data.score * 100)}%
|
||||
{Math.floor(
|
||||
searchResult.score ?? searchResult.data.top_score * 100,
|
||||
)}
|
||||
%
|
||||
</Chip>
|
||||
</div>
|
||||
</TooltipTrigger>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user