Skip to content

Commit

Permalink
showing the content metadata of the searched results
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Jul 21, 2024
1 parent 9f37b8d commit bcb593f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/SearchResultCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const SearchResultCard = ({
const [selectedContent, setSelectedContent] = useState<IContentMetadata | undefined>(undefined);

const handleContentClick = () => {
setSelectedContent(data.root_content_metadata);
setSelectedContent(data.content_metadata);
setDrawerOpen(true);
};

Expand Down

0 comments on commit bcb593f

Please sign in to comment.