Misc fixes (#17443)

* ensure semantic search is enabled before updating embeddings stats

* add camera and label to snapshot download filename
This commit is contained in:
Josh Hawkins
2025-03-29 06:58:50 -05:00
committed by GitHub
parent 4aa493b96c
commit 37c3ac5413
2 changed files with 4 additions and 2 deletions

View File

@@ -955,8 +955,8 @@ export function ObjectSnapshotTab({
<Tooltip>
<TooltipTrigger asChild>
<a
download
href={`${baseUrl}api/events/${search?.id}/snapshot.jpg`}
download={`${search?.camera}_${search?.label}.jpg`}
>
<Chip className="cursor-pointer rounded-md bg-gray-500 bg-gradient-to-br from-gray-400 to-gray-500">
<FaDownload className="size-4 text-white" />