From e825d3be83112daf9015ce82cb00ef911e236bef Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 23 Apr 2021 12:00:07 +0900 Subject: Tweak UI --- src/client/scripts/get-user-menu.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/client/scripts/get-user-menu.ts') diff --git a/src/client/scripts/get-user-menu.ts b/src/client/scripts/get-user-menu.ts index 9a003b5c38..ceb2bfe173 100644 --- a/src/client/scripts/get-user-menu.ts +++ b/src/client/scripts/get-user-menu.ts @@ -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: () => { -- cgit v1.2.3-freya