mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 20:47:42 +03:00
Fix random 0
This commit is contained in:
parent
1e784ea66c
commit
4ed00f22c5
@ -366,7 +366,7 @@ function ObjectDetailsTab({
|
||||
|
||||
const snapScore = useMemo(() => {
|
||||
if (!search?.has_snapshot) {
|
||||
return 0;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const value = search.data.score ?? search.score ?? 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user