diff --git a/web/src/components/settings/ZoneEditPane.tsx b/web/src/components/settings/ZoneEditPane.tsx index 9193d9c2d..b80fa933e 100644 --- a/web/src/components/settings/ZoneEditPane.tsx +++ b/web/src/components/settings/ZoneEditPane.tsx @@ -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}`; }