This commit is contained in:
syuilo
2021-04-23 12:00:07 +09:00
parent b5c8dc0fe3
commit e825d3be83
8 changed files with 186 additions and 271 deletions

View File

@@ -124,13 +124,7 @@ export function getUserMenu(user) {
action: () => {
copyToClipboard(`@${user.username}@${user.host || host}`);
}
}, ($i && ($i.isAdmin || $i.isModerator)) ? {
icon: 'fas fa-info-circle',
text: i18n.locale.info,
action: () => {
os.pageWindow(`/instance/user/${user.id}`);
}
} : {
}, {
icon: 'fas fa-info-circle',
text: i18n.locale.info,
action: () => {