mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 00:25:23 +03:00
Fix sub_label score in search detail dialog
This commit is contained in:
parent
8b47662c30
commit
78e45359db
@ -296,7 +296,7 @@ function ObjectDetailsTab({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (search.sub_label) {
|
if (search.sub_label) {
|
||||||
return Math.round((search.data?.top_score ?? 0) * 100);
|
return Math.round((search.data?.sub_label_score ?? 0) * 100);
|
||||||
} else {
|
} else {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user