From 55018372d42ca9244290004ecdb194270ec9ccf2 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:34:15 -0500 Subject: [PATCH] Fix button color dark mode logic (#10884) * fix button color dark mode logic * make calendar use active color when not default --- .../components/filter/ReviewFilterGroup.tsx | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/web/src/components/filter/ReviewFilterGroup.tsx b/web/src/components/filter/ReviewFilterGroup.tsx index 5baece1f9..6900f368d 100644 --- a/web/src/components/filter/ReviewFilterGroup.tsx +++ b/web/src/components/filter/ReviewFilterGroup.tsx @@ -229,7 +229,9 @@ function CamerasFilterButton({ -
+
{selectedCameras == undefined ? "All Cameras" : `${selectedCameras.includes("birdseye") ? selectedCameras.length - 1 : selectedCameras.length} Camera${selectedCameras.length !== 1 ? "s" : ""}`} @@ -391,13 +393,13 @@ function ShowReviewFilter({
@@ -420,9 +422,17 @@ function CalendarFilterButton({ ); const trigger = ( - @@ -673,11 +683,11 @@ function ShowMotionOnlyButton({