diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-16 17:34:06 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-16 17:34:06 +0900 |
| commit | e5fbc68e0e0b06cc620a7cb2494d6c03139d9627 (patch) | |
| tree | 5d57ac602d9f169a6af7d85f5e8e87c4e0652390 /src/client/scripts | |
| parent | Tweak UI (diff) | |
| download | sharkey-e5fbc68e0e0b06cc620a7cb2494d6c03139d9627.tar.gz sharkey-e5fbc68e0e0b06cc620a7cb2494d6c03139d9627.tar.bz2 sharkey-e5fbc68e0e0b06cc620a7cb2494d6c03139d9627.zip | |
詳細ユーザー情報ページなど
Diffstat (limited to 'src/client/scripts')
| -rw-r--r-- | src/client/scripts/get-user-menu.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/client/scripts/get-user-menu.ts b/src/client/scripts/get-user-menu.ts index 163eff619c..0496e87502 100644 --- a/src/client/scripts/get-user-menu.ts +++ b/src/client/scripts/get-user-menu.ts @@ -1,4 +1,4 @@ -import { faAt, faListUl, faEye, faEyeSlash, faBan, faPencilAlt, faComments, faUsers, faMicrophoneSlash, faPlug, faExclamationCircle } from '@fortawesome/free-solid-svg-icons'; +import { faAt, faListUl, faEye, faEyeSlash, faBan, faPencilAlt, faComments, faUsers, faMicrophoneSlash, faPlug, faExclamationCircle, faInfoCircle } from '@fortawesome/free-solid-svg-icons'; import { faSnowflake, faEnvelope } from '@fortawesome/free-regular-svg-icons'; import { i18n } from '@client/i18n'; import copyToClipboard from '@client/scripts/copy-to-clipboard'; @@ -127,6 +127,12 @@ export function getUserMenu(user) { copyToClipboard(`@${user.username}@${user.host || host}`); } }, { + icon: faInfoCircle, + text: i18n.locale.info, + action: () => { + os.pageWindow(`/user-info/${user.id}`); + } + }, { icon: faEnvelope, text: i18n.locale.sendMessage, action: () => { |