forked from Github/frigate
scroll camera list in camera/recordings route (#7195)
This commit is contained in:
@@ -69,9 +69,11 @@ function CameraSection({ sortedCameras }) {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Separator />
|
<Separator />
|
||||||
|
<div className="overflow-auto pr-2">
|
||||||
{sortedCameras.map(([camera]) => (
|
{sortedCameras.map(([camera]) => (
|
||||||
<Destination key={camera} href={`/cameras/${camera}`} text={camera.replaceAll('_', ' ')} />
|
<Destination key={camera} href={`/cameras/${camera}`} text={camera.replaceAll('_', ' ')} />
|
||||||
))}
|
))}
|
||||||
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
@@ -82,6 +84,7 @@ function RecordingSection({ sortedCameras }) {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Separator />
|
<Separator />
|
||||||
|
<div className="overflow-auto pr-2">
|
||||||
{sortedCameras.map(([camera, _]) => {
|
{sortedCameras.map(([camera, _]) => {
|
||||||
return (
|
return (
|
||||||
<Destination
|
<Destination
|
||||||
@@ -92,6 +95,7 @@ function RecordingSection({ sortedCameras }) {
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user