From f537c13bbc7cf582f501ecaa8464f6a486a1750e Mon Sep 17 00:00:00 2001 From: leccelecce Date: Wed, 11 Mar 2026 21:59:16 +0000 Subject: [PATCH] Web changes --- .../components/menu/SearchResultActions.tsx | 3 +-- .../overlay/detail/DetailActionsMenu.tsx | 3 +-- web/src/types/frigateConfig.ts | 2 -- .../settings/FrigatePlusSettingsView.tsx | 25 +------------------ 4 files changed, 3 insertions(+), 30 deletions(-) diff --git a/web/src/components/menu/SearchResultActions.tsx b/web/src/components/menu/SearchResultActions.tsx index 8b6c6dcb3..6ad4416fc 100644 --- a/web/src/components/menu/SearchResultActions.tsx +++ b/web/src/components/menu/SearchResultActions.tsx @@ -166,8 +166,7 @@ export default function SearchResultActions({ )} - {searchResult.has_snapshot && - config?.cameras[searchResult.camera].snapshots.clean_copy && ( + {searchResult.has_snapshot && ( )} - {search.has_snapshot && - config?.cameras[search.camera].snapshots.clean_copy && ( + {search.has_snapshot && ( { - if (!config) { - return false; - } - return Object.values(config.cameras).some( - (camera) => camera.snapshots.enabled && !camera.snapshots.clean_copy, - ); - }; - if (!config) { return ; } @@ -440,8 +430,7 @@ export default function FrigatePlusSettingsView({ )} - {camera.snapshots?.enabled && - camera.snapshots?.clean_copy ? ( + {camera.snapshots?.enabled ? ( ) : ( @@ -453,18 +442,6 @@ export default function FrigatePlusSettingsView({ - {needCleanSnapshots() && ( -
-
- -
- - frigatePlus.snapshotConfig.cleanCopyWarning - -
-
-
- )} } />