correct position

This commit is contained in:
naskya 2023-04-12 20:24:54 +09:00
parent 46864916d9
commit e8566b95aa
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
1 changed files with 8 additions and 8 deletions

View File

@ -267,18 +267,18 @@ export function getUserMenu(user, router: Router = mainRouter) {
action: inviteGroup,
}
: undefined,
{
icon: user.isRenoteMuted
? "ph-eye ph-bold ph-lg"
: "ph-eye-slash ph-bold ph-lg",
text: user.isRenoteMuted ? i18n.ts.renoteUnmute : i18n.ts.renoteMute,
action: toggleRenoteMute,
},
null,
{
icon: user.isRenoteMuted
? "ph-eye ph-bold ph-lg"
: "ph-eye-slash ph-bold ph-lg",
text: user.isRenoteMuted ? i18n.ts.renoteUnmute : i18n.ts.renoteMute,
action: toggleRenoteMute,
},
] as any;
if ($i && meId !== user.id) {
menu = menu.concat([
null,
{
icon: user.isMuted
? "ph-eye ph-bold ph-lg"