Skip to content

NVR with realtime local object detection for IP cameras

Don't show preview for birdseye (#11749)

Nicolas Mowen0181d1e37732
diff --git a/web/src/api/ws.tsx b/web/src/api/ws.tsx
index 5d7d400f04..f68d2b4a36 100644
--- a/web/src/api/ws.tsx
+++ b/web/src/api/ws.tsx
@@ -77,6 +77,7 @@ function useValue(): useValueReturn {
});
},
shouldReconnect: () => true,
+ retryOnError: true,
});
const setState = useCallback(
diff --git a/web/src/components/graph/CameraGraph.tsx b/web/src/components/graph/CameraGraph.tsx
index 31fef288ba..f2b327da1c 100644
--- a/web/src/components/graph/CameraGraph.tsx
+++ b/web/src/components/graph/CameraGraph.tsx
@@ -116,7 +116,7 @@ export function CameraLineGraph({
return (
<div className="flex w-full flex-col">
{lastValues && (
- <div className="flex items-center gap-2.5">
+ <div className="flex flex-wrap items-center gap-2.5">
{dataLabels.map((label, labelIdx) => (
<div key={label} className="flex items-center gap-1">
<MdCircle
diff --git a/web/src/views/events/RecordingView.tsx b/web/src/views/events/RecordingView.tsx
index c8871500f2..10be536a8c 100644
--- a/web/src/views/events/RecordingView.tsx
+++ b/web/src/views/events/RecordingView.tsx
@@ -527,7 +527,7 @@ export function RecordingView({
>
<div className="w-2" />
{allCameras.map((cam) => {
- if (cam == mainCamera) {
+ if (cam == mainCamera || cam == "birdseye") {
return;
}