feat: add view on remote server to user profile dropdowns
This commit is contained in:
parent
dfd900c09f
commit
18260e1a63
|
@ -260,6 +260,15 @@ export function getUserMenu(user, router: Router = mainRouter) {
|
|||
to: `/my/messaging/${Acct.toString(user)}`,
|
||||
}
|
||||
: undefined,
|
||||
user.host != null && user.url
|
||||
? {
|
||||
type: "a",
|
||||
icon: "ph-arrow-square-out ph-bold ph-lg",
|
||||
text: i18n.ts.showOnRemote,
|
||||
href: user.url,
|
||||
target: "_blank",
|
||||
|
||||
} : undefined,
|
||||
null,
|
||||
{
|
||||
icon: "ph-list-bullets ph-bold ph-lg",
|
||||
|
|
Loading…
Reference in New Issue