Skip to content

NVR with realtime local object detection for IP cameras

Handle case where sub label was null (#12785)

Nicolas Mowenb1806b0a7c3c
diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx
index 88730b8fb1..67057a2784 100644
--- a/web/src/components/player/LivePlayer.tsx
+++ b/web/src/components/player/LivePlayer.tsx
@@ -266,10 +266,7 @@ export default function LivePlayer({
),
]),
]
- .filter(
- (label) =>
- label !== undefined && !label.includes("-verified"),
- )
+ .filter((label) => label?.includes("-verified") == false)
.map((label) => capitalizeFirstLetter(label))
.sort()
.join(", ")