mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 14:02:29 +00:00
enh: allow file download from collection view
This commit is contained in:
parent
15cbb66e5e
commit
e8591b57b4
@ -713,8 +713,14 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class=" flex-1 text-2xl font-medium line-clamp-1">
|
||||
{selectedFile?.meta?.name}
|
||||
<div class=" flex-1 text-2xl font-medium">
|
||||
<a
|
||||
class="hover:text-gray-500 hover:dark:text-gray-100 hover:underline flex-grow line-clamp-1"
|
||||
href={selectedFile.id ? `/api/v1/files/${selectedFile.id}/content` : '#'}
|
||||
target="_blank"
|
||||
>
|
||||
{selectedFile?.meta?.name}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user