mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
files = [
|
||||
...files,
|
||||
{
|
||||
type: e?.detail?.meta?.legacy ? 'file' : 'project',
|
||||
type: e?.detail?.meta?.document ? 'file' : 'project',
|
||||
...e.detail,
|
||||
status: 'processed'
|
||||
}
|
||||
|
||||
@@ -111,11 +111,11 @@
|
||||
{project.name}
|
||||
</div>
|
||||
|
||||
{#if project?.meta?.legacy}
|
||||
{#if project?.meta?.document}
|
||||
<div
|
||||
class="bg-gray-500/20 text-gray-700 dark:text-gray-200 rounded uppercase text-xs px-1"
|
||||
>
|
||||
Legacy Document
|
||||
Document
|
||||
</div>
|
||||
{:else}
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user