mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 00:52:17 +03:00
Add snapshot score to explore details (#17713)
* Add snapshot score to details * Only show snapshot score if it has a snapshot
This commit is contained in:
@@ -135,7 +135,7 @@ export default function SearchThumbnail({
|
||||
onClick={() => onClick(searchResult, false, true)}
|
||||
>
|
||||
{getIconForLabel(objectLabel, "size-3 text-white")}
|
||||
{Math.round(
|
||||
{Math.floor(
|
||||
(searchResult.data.score ??
|
||||
searchResult.data.top_score ??
|
||||
searchResult.top_score) * 100,
|
||||
|
||||
Reference in New Issue
Block a user