From 0da82edecd5a214b5fe62616cbafa645cb37fcd9 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 14 May 2025 15:33:02 -0600 Subject: [PATCH] Use search detail dialog for face library --- .../overlay/detail/SearchDetailDialog.tsx | 6 +- web/src/pages/FaceLibrary.tsx | 87 ++++--------------- 2 files changed, 17 insertions(+), 76 deletions(-) diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index 1630a491a..b6e1b0a14 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -864,16 +864,14 @@ function ObjectDetailsTab({ className={cn("flex w-full flex-row gap-2", isMobile && "flex-col")} > {config?.semantic_search.enabled && + setSimilarity != undefined && search.data.type == "object" && (