diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-28 09:10:33 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-28 09:10:33 +0900 |
| commit | e584b7f1cf4103acbe8048dbb9816c9f6c7d0e27 (patch) | |
| tree | f792ef3b91f576e7cf3530b7f02cc5e7ef789a0e /packages/frontend/src/scripts | |
| parent | fix(server): bodyLimit for each endpoints (diff) | |
| download | sharkey-e584b7f1cf4103acbe8048dbb9816c9f6c7d0e27.tar.gz sharkey-e584b7f1cf4103acbe8048dbb9816c9f6c7d0e27.tar.bz2 sharkey-e584b7f1cf4103acbe8048dbb9816c9f6c7d0e27.zip | |
:art:
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/get-user-menu.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 2faacffdfc..7ede64c327 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -159,18 +159,18 @@ export function getUserMenu(user, router: Router = mainRouter) { copyToClipboard(`@${user.username}@${user.host || host}`); }, }, { - icon: 'ti ti-rss', - text: i18n.ts.copyRSS, - action: () => { - copyToClipboard(`${user.host || host}/@${user.username}.atom`); - } - }, { icon: 'ti ti-info-circle', text: i18n.ts.info, action: () => { router.push(`/user-info/${user.id}`); }, }, { + icon: 'ti ti-rss', + text: i18n.ts.copyRSS, + action: () => { + copyToClipboard(`${user.host ?? host}/@${user.username}.atom`); + }, + }, { icon: 'ti ti-mail', text: i18n.ts.sendMessage, action: () => { |