From 04805d29cac6c382780d843c2ff61a857a0f575f Mon Sep 17 00:00:00 2001 From: spacebares <57186372+spacebares@users.noreply.github.com> Date: Mon, 17 Jul 2023 16:38:34 -0400 Subject: [PATCH] scroll camera list in camera/recordings route --- 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 ( + + ); + })} +
);