From feb2c9fc62baa6cefd73ca6681ac7a27c04eef8a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 10 Jul 2024 16:01:31 -0600 Subject: [PATCH] Use thumbnails instead of review images for search (#12381) --- web/src/components/overlay/SearchDetailDialog.tsx | 6 +----- .../components/player/SearchThumbnailPlayer.tsx | 15 +++++++-------- web/src/types/search.ts | 3 +++ web/src/views/search/SearchView.tsx | 9 +++++++-- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/web/src/components/overlay/SearchDetailDialog.tsx b/web/src/components/overlay/SearchDetailDialog.tsx index 23580bdbf..1e9dd8c2a 100644 --- a/web/src/components/overlay/SearchDetailDialog.tsx +++ b/web/src/components/overlay/SearchDetailDialog.tsx @@ -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`} />