fix: do not display the move menu when folders are empty

This commit is contained in:
Shirasawa
2025-10-21 16:14:38 +08:00
committed by GitHub
parent e24fec0de4
commit b754aad987

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"