fix: Remove the extra separator when the user dropdown menu is empty. (#4587)

pull/48/MERGE
Svend 2024-10-07 18:29:09 +08:00 committed by GitHub
parent 2d019b3c8a
commit 518b869f9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ if (enableShortcutKey.value) {
</div>
</div>
</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuSeparator v-if="menus?.length" />
<DropdownMenuItem
v-for="menu in menus"
:key="menu.text"