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); };