enhance(client): Add link to copy RSS feed in user profile menu (#9419)
* add link to RSS feed * update changelog and locale file Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
3d9f58b188
commit
5ebcdb4f31
3 changed files with 8 additions and 0 deletions
|
@ -158,6 +158,12 @@ export function getUserMenu(user, router: Router = mainRouter) {
|
|||
action: () => {
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue