mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Return zeros if summary is unavailable
This commit is contained in:
parent
b95a2a1823
commit
8d4d4a561e
@ -103,7 +103,7 @@ export default function EventView({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!summary) {
|
if (!summary) {
|
||||||
return { alert: -1, detection: -1, significant_motion: -1 };
|
return { alert: 0, detection: 0, significant_motion: 0 };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter?.showReviewed == 1) {
|
if (filter?.showReviewed == 1) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user