mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
commit
619e5d5bf9
@ -247,9 +247,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
{#each $documents.filter((doc) => (selectedTag === '' || (doc?.content?.tags ?? [])
|
|
||||||
.map((tag) => tag.name)
|
|
||||||
.includes(selectedTag)) && (query === '' || doc.name.includes(query))) as doc}
|
|
||||||
<hr class=" dark:border-gray-700 my-2.5" />
|
<hr class=" dark:border-gray-700 my-2.5" />
|
||||||
|
|
||||||
{#if tags.length > 0}
|
{#if tags.length > 0}
|
||||||
@ -279,6 +276,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{#each $documents.filter((doc) => (selectedTag === '' || (doc?.content?.tags ?? [])
|
||||||
|
.map((tag) => tag.name)
|
||||||
|
.includes(selectedTag)) && (query === '' || doc.name.includes(query))) as doc}
|
||||||
<div class=" flex space-x-4 cursor-pointer w-full mt-3 mb-3">
|
<div class=" flex space-x-4 cursor-pointer w-full mt-3 mb-3">
|
||||||
<div class=" flex flex-1 space-x-4 cursor-pointer w-full">
|
<div class=" flex flex-1 space-x-4 cursor-pointer w-full">
|
||||||
<div class=" flex items-center space-x-3">
|
<div class=" flex items-center space-x-3">
|
||||||
@ -419,7 +419,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
||||||
|
{#if $documents.length > 0}
|
||||||
<hr class=" dark:border-gray-700 my-2.5" />
|
<hr class=" dark:border-gray-700 my-2.5" />
|
||||||
|
{/if}
|
||||||
|
|
||||||
<div class=" flex justify-between w-full mb-3">
|
<div class=" flex justify-between w-full mb-3">
|
||||||
<div class="flex space-x-2">
|
<div class="flex space-x-2">
|
||||||
|
Loading…
Reference in New Issue
Block a user