fix: Remove the extra separator when the user dropdown menu is empty. (#4587)
This commit is contained in:
parent
2d019b3c8a
commit
518b869f9d
@ -189,7 +189,7 @@ if (enableShortcutKey.value) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</DropdownMenuLabel>
|
</DropdownMenuLabel>
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator v-if="menus?.length" />
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
v-for="menu in menus"
|
v-for="menu in menus"
|
||||||
:key="menu.text"
|
:key="menu.text"
|
||||||
|
Loading…
Reference in New Issue
Block a user