From e0b9955522396a75c2164d7d4e36d954e5ab62cf Mon Sep 17 00:00:00 2001 From: Mitchell R Date: Fri, 22 May 2026 19:48:41 +0200 Subject: [PATCH] fix(admin): only show Live Events panel for ONVIF cameras --- server/src/web-templates/admin-pages.tsx | 38 +++++++++++++----------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/server/src/web-templates/admin-pages.tsx b/server/src/web-templates/admin-pages.tsx index 16079dd..60b1899 100644 --- a/server/src/web-templates/admin-pages.tsx +++ b/server/src/web-templates/admin-pages.tsx @@ -1332,25 +1332,27 @@ export function CameraEditPage(props: CameraEditProps) { )} -
-

Live Events

-

- ONVIF events from kiosks subscribed to this camera. Auto-refreshes - every 5s. All topics shown — motion, ANPR, line crossing, I/O, analytics, unknown. -

-
-
Loading...
+ {cam.type === "onvif" && ( +
+

Live Events

+

+ ONVIF events from kiosks subscribed to this camera. Auto-refreshes + every 5s. All topics shown — motion, ANPR, line crossing, I/O, analytics, unknown. +

+
+
Loading...
+
-
+ )}

Kiosk Subscriptions