mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
loitering_time can be zero (#12599)
This commit is contained in:
parent
b4db07d7a5
commit
51a1526146
@ -245,7 +245,7 @@ export default function ZoneEditPane({
|
||||
}
|
||||
|
||||
let loiteringTimeQuery = "";
|
||||
if (loitering_time) {
|
||||
if (loitering_time >= 0) {
|
||||
loiteringTimeQuery = `&cameras.${polygon?.camera}.zones.${zoneName}.loitering_time=${loitering_time}`;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user