From 684778ad46824c0f48e03050ec4a666f32ac276f Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 1 Mar 2026 12:41:39 -0600 Subject: [PATCH] tweaks --- web/public/locales/en/views/motionSearch.json | 2 +- web/src/views/motion-search/MotionSearchView.tsx | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/web/public/locales/en/views/motionSearch.json b/web/public/locales/en/views/motionSearch.json index ff282af9d..6e22c3203 100644 --- a/web/public/locales/en/views/motionSearch.json +++ b/web/public/locales/en/views/motionSearch.json @@ -5,7 +5,7 @@ "selectCamera": "Motion Search is loading", "startSearch": "Start Search", "searchStarted": "Search started", - "searchCanceled": "Search canceled", + "searchCancelled": "Search cancelled", "cancelSearch": "Cancel", "searching": "Search in progress.", "searchComplete": "Search complete", diff --git a/web/src/views/motion-search/MotionSearchView.tsx b/web/src/views/motion-search/MotionSearchView.tsx index f7e3320e9..6789dad89 100644 --- a/web/src/views/motion-search/MotionSearchView.tsx +++ b/web/src/views/motion-search/MotionSearchView.tsx @@ -58,6 +58,7 @@ import { IoMdArrowRoundBack } from "react-icons/io"; import { FaArrowDown, FaCalendarAlt, FaCog, FaFire } from "react-icons/fa"; import { useNavigate } from "react-router-dom"; import { LuSearch } from "react-icons/lu"; +import ActivityIndicator from "@/components/indicators/activity-indicator"; type MotionSearchViewProps = { config: FrigateConfig; @@ -746,7 +747,7 @@ export default function MotionSearchView({ if (jobId && jobCamera) { void cancelMotionSearchJob(jobId, jobCamera); if (isSearching) { - toast.message(t("searchCanceled")); + toast.message(t("searchCancelled")); } } setSearchResults([]); @@ -905,7 +906,7 @@ export default function MotionSearchView({ setIsSearching(false); setJobId(null); setJobCamera(null); - toast.message(t("searchCanceled")); + toast.message(t("searchCancelled")); } }, [jobStatus, t]); @@ -1013,17 +1014,21 @@ export default function MotionSearchView({ {isSearching && (
-
- {t("searching")} +
+
+ +
{t("searching")}
+