Don't end account dropdown menu with a separator (#38481)

This commit is contained in:
nicole mikołajczyk 2026-04-01 15:22:19 +02:00 committed by GitHub
parent e9a051fcef
commit 1f7d6cde5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {