diff --git a/web/src/components/filter/ReviewFilterGroup.tsx b/web/src/components/filter/ReviewFilterGroup.tsx
index 1803cac81..4d2e1db8e 100644
--- a/web/src/components/filter/ReviewFilterGroup.tsx
+++ b/web/src/components/filter/ReviewFilterGroup.tsx
@@ -2,7 +2,7 @@ import { Button } from "../ui/button";
import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";
import useSWR from "swr";
import { CameraGroupConfig, FrigateConfig } from "@/types/frigateConfig";
-import { useCallback, useMemo, useState } from "react";
+import { useCallback, useEffect, useMemo, useState } from "react";
import {
DropdownMenu,
DropdownMenuContent,
@@ -631,16 +631,21 @@ function ShowMotionOnlyButton({
motionOnly,
setMotionOnly,
}: ShowMotionOnlyButtonProps) {
+ const [motionOnlyButton, setMotionOnlyButton] = useState(motionOnly);
+
+ useEffect(
+ () => setMotionOnly(motionOnlyButton),
+ [motionOnlyButton, setMotionOnly],
+ );
+
return (
<>
{
- setMotionOnly(!motionOnly);
- }}
+ checked={motionOnlyButton}
+ onCheckedChange={setMotionOnlyButton}
/>