mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 05:17:39 -07:00
correct position
This commit is contained in:
parent
58b3950680
commit
845285fad6
1 changed files with 8 additions and 8 deletions
|
@ -267,18 +267,18 @@ export function getUserMenu(user, router: Router = mainRouter) {
|
||||||
action: inviteGroup,
|
action: inviteGroup,
|
||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
{
|
null,
|
||||||
icon: user.isRenoteMuted
|
{
|
||||||
? "ph-eye ph-bold ph-lg"
|
icon: user.isRenoteMuted
|
||||||
: "ph-eye-slash ph-bold ph-lg",
|
? "ph-eye ph-bold ph-lg"
|
||||||
text: user.isRenoteMuted ? i18n.ts.renoteUnmute : i18n.ts.renoteMute,
|
: "ph-eye-slash ph-bold ph-lg",
|
||||||
action: toggleRenoteMute,
|
text: user.isRenoteMuted ? i18n.ts.renoteUnmute : i18n.ts.renoteMute,
|
||||||
},
|
action: toggleRenoteMute,
|
||||||
|
},
|
||||||
] as any;
|
] as any;
|
||||||
|
|
||||||
if ($i && meId !== user.id) {
|
if ($i && meId !== user.id) {
|
||||||
menu = menu.concat([
|
menu = menu.concat([
|
||||||
null,
|
|
||||||
{
|
{
|
||||||
icon: user.isMuted
|
icon: user.isMuted
|
||||||
? "ph-eye ph-bold ph-lg"
|
? "ph-eye ph-bold ph-lg"
|
||||||
|
|
Loading…
Reference in a new issue