mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Remove recording cameras option if show is set to false
This commit is contained in:
parent
cad59d335d
commit
f985e73167
@ -33,7 +33,7 @@ export default function Sidebar() {
|
|||||||
matches ? (
|
matches ? (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Separator />
|
<Separator />
|
||||||
{cameras.map(([camera, conf]) => {
|
{cameras.filter(([cam, conf]) => conf.gui.show).map(([camera, conf]) => {
|
||||||
if (conf.record.enabled) {
|
if (conf.record.enabled) {
|
||||||
return (
|
return (
|
||||||
<Destination
|
<Destination
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user