From 0fd1eaff4374dae1b137f70775a504c5218f5b6a Mon Sep 17 00:00:00 2001 From: spacebares <57186372+spacebares@users.noreply.github.com> Date: Fri, 21 Jul 2023 08:31:02 -0400 Subject: [PATCH] scroll camera list in camera/recordings route (#7195) --- web/src/Sidebar.jsx | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/web/src/Sidebar.jsx b/web/src/Sidebar.jsx index 4497dba15..96bd5c52a 100644 --- a/web/src/Sidebar.jsx +++ b/web/src/Sidebar.jsx @@ -69,9 +69,11 @@ function CameraSection({ sortedCameras }) { return ( - {sortedCameras.map(([camera]) => ( - - ))} +
+ {sortedCameras.map(([camera]) => ( + + ))} +
); @@ -82,16 +84,18 @@ function RecordingSection({ sortedCameras }) { return ( - {sortedCameras.map(([camera, _]) => { - return ( - - ); - })} +
+ {sortedCameras.map(([camera, _]) => { + return ( + + ); + })} +
);