Commit 518b869f by Svend Committed by GitHub

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

1 parent 2d019b3c
......@@ -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"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!