From a5bd4b8550f0f838b1578416a6970f9c3dad5ffd Mon Sep 17 00:00:00 2001 From: ZhaiSoul <842607283@qq.com> Date: Thu, 13 Mar 2025 00:35:57 +0800 Subject: [PATCH] fix: fix exploreSettings error --- .../components/settings/SearchSettings.tsx | 4 +- web/src/views/live/LiveCameraView.tsx | 52 +++++++++++-------- web/src/views/settings/SearchSettingsView.tsx | 22 ++++---- 3 files changed, 45 insertions(+), 33 deletions(-) diff --git a/web/src/components/settings/SearchSettings.tsx b/web/src/components/settings/SearchSettings.tsx index 5d390a5c3..72c26ec6d 100644 --- a/web/src/components/settings/SearchSettings.tsx +++ b/web/src/components/settings/SearchSettings.tsx @@ -159,7 +159,9 @@ export function SearchTypeContent({
-
{t("explore.settings.searchSource.label")}
+
+ {t("explore.settings.searchSource.label")} +
{t("explore.settings.searchSource.desc")}
diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx index 4f8f5c5a4..95155d5e0 100644 --- a/web/src/views/live/LiveCameraView.tsx +++ b/web/src/views/live/LiveCameraView.tsx @@ -1038,9 +1038,7 @@ function FrigateCameraFeatures({ Started manual on-demand recording.
{!camera.record.enabled || camera.record.alerts.retain.days == 0 ? ( -
- {t("manualRecording.recordDisabledTips")} -
+
{t("manualRecording.recordDisabledTips")}
) : ( )} @@ -1237,7 +1235,9 @@ function FrigateCameraFeatures({
- {t("button.info", {ns: "common"})} + + {t("button.info", { ns: "common" })} +
@@ -1265,7 +1265,9 @@ function FrigateCameraFeatures({ {isRestreamed && Object.values(camera.live.streams).length > 0 && (
- + handleSearchConfigChange({ model_size: value as SearchModelSize, @@ -273,7 +273,7 @@ export default function ExploreSettingsView({ {t( "explore.semanticSearch.modelSize." + - ExploreSettings.model_size, + exploreSettings.model_size, )}