fix: knowledge citation display
This commit is contained in:
@@ -166,7 +166,8 @@ const KnowledgeCitation: React.FC<{ citation: Citation }> = ({ citation }) => {
|
||||
<CitationIndex>{citation.number}</CitationIndex>
|
||||
{citation.showFavicon && <FileSearch width={16} />}
|
||||
<CitationLink className="text-nowrap" href={citation.url} onClick={(e) => handleLinkClick(citation.url, e)}>
|
||||
{citation.title}
|
||||
{/* example title: User/path/example.pdf */}
|
||||
{citation.title?.split('/').pop()}
|
||||
</CitationLink>
|
||||
{citation.content && <CopyButton content={citation.content} />}
|
||||
</WebSearchCardHeader>
|
||||
|
||||
Reference in New Issue
Block a user