mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
scroll camera list in camera/recordings route (#7195)
This commit is contained in:
parent
d30a738960
commit
0fd1eaff43
@ -69,9 +69,11 @@ function CameraSection({ sortedCameras }) {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Separator />
|
<Separator />
|
||||||
{sortedCameras.map(([camera]) => (
|
<div className="overflow-auto pr-2">
|
||||||
<Destination key={camera} href={`/cameras/${camera}`} text={camera.replaceAll('_', ' ')} />
|
{sortedCameras.map(([camera]) => (
|
||||||
))}
|
<Destination key={camera} href={`/cameras/${camera}`} text={camera.replaceAll('_', ' ')} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
@ -82,16 +84,18 @@ function RecordingSection({ sortedCameras }) {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Separator />
|
<Separator />
|
||||||
{sortedCameras.map(([camera, _]) => {
|
<div className="overflow-auto pr-2">
|
||||||
return (
|
{sortedCameras.map(([camera, _]) => {
|
||||||
<Destination
|
return (
|
||||||
key={camera}
|
<Destination
|
||||||
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
|
key={camera}
|
||||||
href={`/recording/${camera}`}
|
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
|
||||||
text={camera.replaceAll('_', ' ')}
|
href={`/recording/${camera}`}
|
||||||
/>
|
text={camera.replaceAll('_', ' ')}
|
||||||
);
|
/>
|
||||||
})}
|
);
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user