Merge pull request #18484 from ShirasawaSama/patch-41

fix: do not display the move menu when folders are empty
This commit is contained in:
Tim Baek
2025-10-21 16:26:43 -04:00
committed by GitHub

View File

@@ -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"