summaryrefslogtreecommitdiff
path: root/src/client/scripts/get-user-menu.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-04-23 12:00:07 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-04-23 12:00:07 +0900
commite825d3be83112daf9015ce82cb00ef911e236bef (patch)
tree920f2d37fa6c7c3c0ec7a9b9ab706a140087dccc /src/client/scripts/get-user-menu.ts
parentTweak UI (diff)
downloadsharkey-e825d3be83112daf9015ce82cb00ef911e236bef.tar.gz
sharkey-e825d3be83112daf9015ce82cb00ef911e236bef.tar.bz2
sharkey-e825d3be83112daf9015ce82cb00ef911e236bef.zip
Tweak UI
Diffstat (limited to 'src/client/scripts/get-user-menu.ts')
-rw-r--r--src/client/scripts/get-user-menu.ts8
1 files changed, 1 insertions, 7 deletions
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: () => {