mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35:22 +03:00
Fix preset panel logic
This commit is contained in:
parent
49011b288f
commit
fc968b0425
@ -218,7 +218,7 @@ export default function CameraControlPanel({ camera = '' }) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{ptz.presets && (
|
||||
{(ptz.presets || []).length > 0 && (
|
||||
<div className="px-4">
|
||||
<Heading size="xs" className="my-4">
|
||||
Presets
|
||||
|
||||
Loading…
Reference in New Issue
Block a user