mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-09 23:05:43 +03:00
Compare commits
1 Commits
e2e88d6a67
...
9b7b2720f9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b7b2720f9 |
@ -170,10 +170,6 @@
|
|||||||
"label": "Download snapshot",
|
"label": "Download snapshot",
|
||||||
"aria": "Download snapshot"
|
"aria": "Download snapshot"
|
||||||
},
|
},
|
||||||
"downloadCleanSnapshot": {
|
|
||||||
"label": "Download clean snapshot",
|
|
||||||
"aria": "Download clean snapshot"
|
|
||||||
},
|
|
||||||
"viewTrackingDetails": {
|
"viewTrackingDetails": {
|
||||||
"label": "View tracking details",
|
"label": "View tracking details",
|
||||||
"aria": "Show the tracking details"
|
"aria": "Show the tracking details"
|
||||||
|
|||||||
@ -108,18 +108,6 @@ export default function SearchResultActions({
|
|||||||
</a>
|
</a>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)}
|
)}
|
||||||
{searchResult.has_snapshot &&
|
|
||||||
config?.cameras[searchResult.camera].snapshots.clean_copy && (
|
|
||||||
<MenuItem aria-label={t("itemMenu.downloadCleanSnapshot.aria")}>
|
|
||||||
<a
|
|
||||||
className="flex items-center"
|
|
||||||
href={`${baseUrl}api/events/${searchResult.id}/snapshot-clean.webp`}
|
|
||||||
download={`${searchResult.camera}_${searchResult.label}-clean.webp`}
|
|
||||||
>
|
|
||||||
<span>{t("itemMenu.downloadCleanSnapshot.label")}</span>
|
|
||||||
</a>
|
|
||||||
</MenuItem>
|
|
||||||
)}
|
|
||||||
{searchResult.data.type == "object" && (
|
{searchResult.data.type == "object" && (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
aria-label={t("itemMenu.viewTrackingDetails.aria")}
|
aria-label={t("itemMenu.viewTrackingDetails.aria")}
|
||||||
|
|||||||
@ -69,20 +69,6 @@ export default function DetailActionsMenu({
|
|||||||
</a>
|
</a>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
)}
|
)}
|
||||||
{search.has_snapshot &&
|
|
||||||
config?.cameras[search.camera].snapshots.clean_copy && (
|
|
||||||
<DropdownMenuItem>
|
|
||||||
<a
|
|
||||||
className="w-full"
|
|
||||||
href={`${baseUrl}api/events/${search.id}/snapshot-clean.webp`}
|
|
||||||
download={`${search.camera}_${search.label}-clean.webp`}
|
|
||||||
>
|
|
||||||
<div className="flex cursor-pointer items-center gap-2">
|
|
||||||
<span>{t("itemMenu.downloadCleanSnapshot.label")}</span>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</DropdownMenuItem>
|
|
||||||
)}
|
|
||||||
{search.has_clip && (
|
{search.has_clip && (
|
||||||
<DropdownMenuItem>
|
<DropdownMenuItem>
|
||||||
<a
|
<a
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user