mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
fix check for active polygon index
This commit is contained in:
parent
e0b4f42b71
commit
bdbb159178
@ -677,7 +677,7 @@ export default function ZoneEditPane({
|
||||
|
||||
{form.watch("speedEstimation") &&
|
||||
polygons &&
|
||||
activePolygonIndex &&
|
||||
activePolygonIndex !== undefined &&
|
||||
polygons[activePolygonIndex].points.length === 4 && (
|
||||
<>
|
||||
<FormField
|
||||
|
||||
Loading…
Reference in New Issue
Block a user