This commit is contained in:
syuilo 2022-12-28 09:10:33 +09:00
parent af9e742e71
commit e584b7f1cf
1 changed files with 6 additions and 6 deletions

View File

@ -158,18 +158,18 @@ export function getUserMenu(user, router: Router = mainRouter) {
action: () => { action: () => {
copyToClipboard(`@${user.username}@${user.host || host}`); 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', icon: 'ti ti-info-circle',
text: i18n.ts.info, text: i18n.ts.info,
action: () => { action: () => {
router.push(`/user-info/${user.id}`); 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', icon: 'ti ti-mail',
text: i18n.ts.sendMessage, text: i18n.ts.sendMessage,