mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-25 14:57:43 -05:00
refac
This commit is contained in:
1 parent
acb61d3c42
commit
aed2caefe1
4 files changed
+256
-260
No files matched your search
@@ -6,6 +6,8 @@
|
||||
|
||||
export let selectedFileId = null;
|
||||
export let files = [];
|
||||
|
||||
export let small = false;
|
||||
</script>
|
||||
|
||||
<div class=" max-h-full flex flex-col w-full">
|
||||
@@ -16,6 +18,7 @@
|
||||
colorClassName="{selectedFileId === file.id
|
||||
? ' bg-gray-50 dark:bg-gray-850'
|
||||
: 'bg-transparent'} hover:bg-gray-50 dark:hover:bg-gray-850 transition"
|
||||
{small}
|
||||
{file}
|
||||
name={file?.name ?? file?.meta?.name}
|
||||
type="file"
|
||||
|
||||
Reference in new issue
Block a user