diff --git a/web/src/components/filter/ReviewFilterGroup.tsx b/web/src/components/filter/ReviewFilterGroup.tsx index fa26722e6..28e2475f2 100644 --- a/web/src/components/filter/ReviewFilterGroup.tsx +++ b/web/src/components/filter/ReviewFilterGroup.tsx @@ -187,6 +187,7 @@ export default function ReviewFilterGroup({ - - {allCameras.map((cam) => ( -
{ - onSelectCamera(cam); - setCameraDrawer(false); - }} - > - {cam.replaceAll("_", " ")} -
- ))} + +
+ {allCameras.map((cam) => ( +
{ + onSelectCamera(cam); + setCameraDrawer(false); + }} + > + {cam.replaceAll("_", " ")} +
+ ))} +
); diff --git a/web/src/components/overlay/MobileReviewSettingsDrawer.tsx b/web/src/components/overlay/MobileReviewSettingsDrawer.tsx index 00bb71a3c..bf39632e9 100644 --- a/web/src/components/overlay/MobileReviewSettingsDrawer.tsx +++ b/web/src/components/overlay/MobileReviewSettingsDrawer.tsx @@ -7,7 +7,7 @@ import { ExportContent } from "./ExportDialog"; import { ExportMode } from "@/types/filter"; import ReviewActivityCalendar from "./ReviewActivityCalendar"; import { SelectSeparator } from "../ui/select"; -import { ReviewFilter } from "@/types/review"; +import { ReviewFilter, ReviewSummary } from "@/types/review"; import { getEndOfDayTimestamp } from "@/utils/dateUtil"; import { GeneralFilterContent } from "../filter/ReviewFilterGroup"; import useSWR from "swr"; @@ -36,6 +36,7 @@ type MobileReviewSettingsDrawerProps = { currentTime: number; range?: TimeRange; mode: ExportMode; + reviewSummary?: ReviewSummary; onUpdateFilter: (filter: ReviewFilter) => void; setRange: (range: TimeRange | undefined) => void; setMode: (mode: ExportMode) => void; @@ -48,6 +49,7 @@ export default function MobileReviewSettingsDrawer({ currentTime, range, mode, + reviewSummary, onUpdateFilter, setRange, setMode, @@ -201,6 +203,7 @@ export default function MobileReviewSettingsDrawer({ -
+
{isMobile && ( - + )}
{filter?.before == undefined && (
{isMobile && ( - + )}