mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 09:09:53 +00:00
Merge branch 'dev' of https://github.com/OriginalSimon/open-webui into dev
This commit is contained in:
commit
07283ca0cf
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user