Commit 07283ca0 authored by SimonOriginal's avatar SimonOriginal
Browse files

Merge branch 'dev' of https://github.com/OriginalSimon/open-webui into dev

parents 917dde7e 736d8586
......@@ -59,7 +59,9 @@
<a
href={document?.metadata?.file_id
? `/api/v1/files/${document?.metadata?.file_id}/content`
: document.source.name}
: document.source.name.includes('http')
? document.source.name
: `#`}
target="_blank"
>
{document?.metadata?.name ?? document.source.name}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment