mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 20:16:35 +00:00
fix(admin): only show Live Events panel for ONVIF cameras
This commit is contained in:
parent
90a8f256d5
commit
e0b9955522
1 changed files with 20 additions and 18 deletions
|
|
@ -1332,6 +1332,7 @@ export function CameraEditPage(props: CameraEditProps) {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{cam.type === "onvif" && (
|
||||||
<div class="card" style="margin-bottom:1.5rem">
|
<div class="card" style="margin-bottom:1.5rem">
|
||||||
<h2 style="margin:0 0 1rem; font-size:1.1rem">Live Events</h2>
|
<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">
|
<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 style="color:#999; font-size:0.85rem; padding:1rem 0">Loading...</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
<div class="card" style="margin-bottom:1.5rem">
|
<div class="card" style="margin-bottom:1.5rem">
|
||||||
<h2 style="margin:0 0 1rem; font-size:1.1rem">Kiosk Subscriptions</h2>
|
<h2 style="margin:0 0 1rem; font-size:1.1rem">Kiosk Subscriptions</h2>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue