[Glitch] Don't end account dropdown menu with a separator

Port 1f7d6cde5e7d2e8ebb9a2882db0ce52a4853b407 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
nicole mikołajczyk 2026-04-01 15:22:19 +02:00 committed by Claire
parent 0710f78470
commit 6644fcf0b6

View File

@ -215,13 +215,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) {