[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:
parent
0710f78470
commit
6644fcf0b6
@ -215,13 +215,14 @@ function currentMenuItems({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isRemote) {
|
if (isRemote) {
|
||||||
items.push(
|
items.push({
|
||||||
{
|
text: intl.formatMessage(messages.openOriginalPage),
|
||||||
text: intl.formatMessage(messages.openOriginalPage),
|
href: account.url,
|
||||||
href: account.url,
|
});
|
||||||
},
|
|
||||||
null,
|
if (signedIn) {
|
||||||
);
|
items.push(null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!signedIn) {
|
if (!signedIn) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user