mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
Merge pull request #18484 from ShirasawaSama/patch-41
fix: do not display the move menu when folders are empty
This commit is contained in:
commit
b9f0d239b0
1 changed files with 1 additions and 1 deletions
|
|
@ -393,7 +393,7 @@
|
|||
<div class="flex items-center">{$i18n.t('Clone')}</div>
|
||||
</DropdownMenu.Item>
|
||||
|
||||
{#if chatId}
|
||||
{#if chatId && $folders.length > 0}
|
||||
<DropdownMenu.Sub>
|
||||
<DropdownMenu.SubTrigger
|
||||
class="flex gap-2 items-center px-3 py-1.5 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-xl select-none w-full"
|
||||
|
|
|
|||
Loading…
Reference in a new issue