This commit is contained in:
Timothy J. Baek 2024-07-15 14:16:28 +02:00
parent 6d0e4852cc
commit 553dcd208c

View File

@ -59,7 +59,9 @@
<a <a
href={document?.metadata?.file_id href={document?.metadata?.file_id
? `/api/v1/files/${document?.metadata?.file_id}/content` ? `/api/v1/files/${document?.metadata?.file_id}/content`
: document.source.name} : document.source.name.includes('http')
? document.source.name
: `#`}
target="_blank" target="_blank"
> >
{document?.metadata?.name ?? document.source.name} {document?.metadata?.name ?? document.source.name}