mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Include sidebar change
This commit is contained in:
parent
60fb80ff24
commit
6f90462f06
@ -78,18 +78,15 @@ function SortedRecordingCameras({ unsortedCameras }) {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Separator />
|
<Separator />
|
||||||
{sortedCameras.map(([camera, conf]) => {
|
{sortedCameras.map(([camera, _]) => {
|
||||||
if (conf.record.enabled) {
|
return (
|
||||||
return (
|
<Destination
|
||||||
<Destination
|
key={camera}
|
||||||
key={camera}
|
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
|
||||||
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
|
href={`/recording/${camera}`}
|
||||||
href={`/recording/${camera}`}
|
text={camera}
|
||||||
text={camera}
|
/>
|
||||||
/>
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
})}
|
})}
|
||||||
<Separator />
|
<Separator />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user