mirror of
https://github.com/open-webui/open-webui
synced 2025-02-22 21:32:32 +00:00
fix
This commit is contained in:
parent
73e2912849
commit
1d1b945483
@ -67,7 +67,7 @@
|
|||||||
<div class="self-start flex flex-none items-center text-gray-600 dark:text-gray-400">
|
<div class="self-start flex flex-none items-center text-gray-600 dark:text-gray-400">
|
||||||
<!-- <div class="md:hidden flex self-center w-[1px] h-5 mx-2 bg-gray-300 dark:bg-stone-700" /> -->
|
<!-- <div class="md:hidden flex self-center w-[1px] h-5 mx-2 bg-gray-300 dark:bg-stone-700" /> -->
|
||||||
|
|
||||||
{#if shareEnabled}
|
{#if shareEnabled && chat && chat.id}
|
||||||
<Menu
|
<Menu
|
||||||
{chat}
|
{chat}
|
||||||
{shareEnabled}
|
{shareEnabled}
|
||||||
|
@ -117,7 +117,6 @@
|
|||||||
<div class="flex items-center">{$i18n.t('Settings')}</div>
|
<div class="flex items-center">{$i18n.t('Settings')}</div>
|
||||||
</DropdownMenu.Item> -->
|
</DropdownMenu.Item> -->
|
||||||
|
|
||||||
{#if chat && chat.id}
|
|
||||||
<DropdownMenu.Item
|
<DropdownMenu.Item
|
||||||
class="flex gap-2 items-center px-3 py-2 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
|
class="flex gap-2 items-center px-3 py-2 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
|
||||||
id="chat-share-button"
|
id="chat-share-button"
|
||||||
@ -139,8 +138,6 @@
|
|||||||
</svg>
|
</svg>
|
||||||
<div class="flex items-center">{$i18n.t('Share')}</div>
|
<div class="flex items-center">{$i18n.t('Share')}</div>
|
||||||
</DropdownMenu.Item>
|
</DropdownMenu.Item>
|
||||||
{/if}
|
|
||||||
|
|
||||||
<!-- <DropdownMenu.Item
|
<!-- <DropdownMenu.Item
|
||||||
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer"
|
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
@ -201,13 +198,11 @@
|
|||||||
</DropdownMenu.SubContent>
|
</DropdownMenu.SubContent>
|
||||||
</DropdownMenu.Sub>
|
</DropdownMenu.Sub>
|
||||||
|
|
||||||
{#if chat && chat.id}
|
|
||||||
<hr class="border-gray-100 dark:border-gray-800 mt-2.5 mb-1.5" />
|
<hr class="border-gray-100 dark:border-gray-800 mt-2.5 mb-1.5" />
|
||||||
|
|
||||||
<div class="flex p-1">
|
<div class="flex p-1">
|
||||||
<Tags chatId={chat.id} />
|
<Tags chatId={chat.id} />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
|
||||||
</DropdownMenu.Content>
|
</DropdownMenu.Content>
|
||||||
</div>
|
</div>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
Loading…
Reference in New Issue
Block a user