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 (
|
||||
<Fragment>
|
||||
<Separator />
|
||||
{sortedCameras.map(([camera, conf]) => {
|
||||
if (conf.record.enabled) {
|
||||
return (
|
||||
<Destination
|
||||
key={camera}
|
||||
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
|
||||
href={`/recording/${camera}`}
|
||||
text={camera}
|
||||
/>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
{sortedCameras.map(([camera, _]) => {
|
||||
return (
|
||||
<Destination
|
||||
key={camera}
|
||||
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
|
||||
href={`/recording/${camera}`}
|
||||
text={camera}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
<Separator />
|
||||
</Fragment>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user