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

Port 1f7d6cde5e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
nicole mikołajczyk authored and Claire committed 2026-04-01 19:18:20 +02:00
1 parent 0710f78470
commit 6644fcf0b6
1 file changed
+8 -7
@@ -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) {