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 - -
-
-
- )} } />