diff --git a/web/public/locales/en/views/explore.json b/web/public/locales/en/views/explore.json index 5335aa5ac..3f057c38d 100644 --- a/web/public/locales/en/views/explore.json +++ b/web/public/locales/en/views/explore.json @@ -170,6 +170,10 @@ "label": "Download snapshot", "aria": "Download snapshot" }, + "downloadCleanSnapshot": { + "label": "Download clean snapshot", + "aria": "Download clean snapshot" + }, "viewTrackingDetails": { "label": "View tracking details", "aria": "Show the tracking details" diff --git a/web/src/components/menu/SearchResultActions.tsx b/web/src/components/menu/SearchResultActions.tsx index 66de0c496..623005220 100644 --- a/web/src/components/menu/SearchResultActions.tsx +++ b/web/src/components/menu/SearchResultActions.tsx @@ -108,6 +108,18 @@ export default function SearchResultActions({ )} + {searchResult.has_snapshot && + config?.cameras[searchResult.camera].snapshots.clean_copy && ( + + + {t("itemMenu.downloadCleanSnapshot.label")} + + + )} {searchResult.data.type == "object" && ( )} + {search.has_snapshot && + config?.cameras[search.camera].snapshots.clean_copy && ( + + + + {t("itemMenu.downloadCleanSnapshot.label")} + + + + )} {search.has_clip && (