summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-12-28 09:10:33 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-12-28 09:10:33 +0900
commite584b7f1cf4103acbe8048dbb9816c9f6c7d0e27 (patch)
treef792ef3b91f576e7cf3530b7f02cc5e7ef789a0e /packages/frontend/src/scripts
parentfix(server): bodyLimit for each endpoints (diff)
downloadsharkey-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.ts12
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: () => {