fix(admin): only show Live Events panel for ONVIF cameras

This commit is contained in:
Mitchell R 2026-05-22 19:48:41 +02:00
parent 90a8f256d5
commit e0b9955522
No known key found for this signature in database

View file

@ -1332,6 +1332,7 @@ export function CameraEditPage(props: CameraEditProps) {
)}
</div>
{cam.type === "onvif" && (
<div class="card" style="margin-bottom:1.5rem">
<h2 style="margin:0 0 1rem; font-size:1.1rem">Live Events</h2>
<p style="color:#666; font-size:0.85rem; margin-bottom:0.75rem">
@ -1351,6 +1352,7 @@ export function CameraEditPage(props: CameraEditProps) {
<div style="color:#999; font-size:0.85rem; padding:1rem 0">Loading...</div>
</div>
</div>
)}
<div class="card" style="margin-bottom:1.5rem">
<h2 style="margin:0 0 1rem; font-size:1.1rem">Kiosk Subscriptions</h2>