NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix: variable shadowing silently drops object label updates (#22472)
ryzendigodfc6ff920210
diff --git a/web/src/hooks/use-camera-activity.ts b/web/src/hooks/use-camera-activity.tsindex 71507c2af1..76a9827254 100644--- a/web/src/hooks/use-camera-activity.ts+++ b/web/src/hooks/use-camera-activity.ts@@ -125,8 +125,6 @@ export function useCameraActivity(newObjects = [...(objects ?? []), newActiveObject];}} else {- const newObjects = [...(objects ?? [])];-let label = updatedEvent.after.label;if (updatedEvent.after.sub_label) {