From bcb593f4a14a6dd45b583e90467b816aa1fdc391 Mon Sep 17 00:00:00 2001 From: Diptanu Gon Choudhury Date: Sat, 20 Jul 2024 21:39:28 -0700 Subject: [PATCH] showing the content metadata of the searched results --- ui/src/components/SearchResultCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/SearchResultCard.tsx b/ui/src/components/SearchResultCard.tsx index d9ec733a8..f0acb9f3a 100644 --- a/ui/src/components/SearchResultCard.tsx +++ b/ui/src/components/SearchResultCard.tsx @@ -35,7 +35,7 @@ const SearchResultCard = ({ const [selectedContent, setSelectedContent] = useState(undefined); const handleContentClick = () => { - setSelectedContent(data.root_content_metadata); + setSelectedContent(data.content_metadata); setDrawerOpen(true); };