Don't end account dropdown menu with a separator (#38481)
This commit is contained in:
parent
e9a051fcef
commit
1f7d6cde5e
@ -212,13 +212,14 @@ function currentMenuItems({
|
||||
}
|
||||
|
||||
if (isRemote) {
|
||||
items.push(
|
||||
{
|
||||
text: intl.formatMessage(messages.openOriginalPage),
|
||||
href: account.url,
|
||||
},
|
||||
null,
|
||||
);
|
||||
items.push({
|
||||
text: intl.formatMessage(messages.openOriginalPage),
|
||||
href: account.url,
|
||||
});
|
||||
|
||||
if (signedIn) {
|
||||
items.push(null);
|
||||
}
|
||||
}
|
||||
|
||||
if (!signedIn) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user