[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:
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) {
|
||||
|
||||
Reference in new issue
Block a user