Skip to content

Commit

Permalink
Use thumbnails instead of review images for search (blakeblackshear#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored and iursevla committed Sep 1, 2024
1 parent 92c073c commit 9e6baba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions web/src/components/overlay/SearchDetailDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ export default function SearchDetailDialog({
: undefined
}
draggable={false}
src={
search.thumb_path
? `${apiHost}${search.thumb_path.replace("/media/frigate/", "")}`
: `${apiHost}api/events/${search.id}/thumbnail.jpg`
}
src={`${apiHost}api/events/${search.id}/thumbnail.jpg`}
/>
<Button
onClick={() => {
Expand Down

0 comments on commit 9e6baba

Please sign in to comment.