fix: notification templates for admin reports (#2045)
Co-authored-by: patak <matias.capeletto@gmail.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
fb61891c29
commit
c6c844f3fd
7 changed files with 29 additions and 5 deletions
|
@ -29,6 +29,10 @@ export function getAccountFollowersRoute(account: mastodon.v1.Account) {
|
|||
})
|
||||
}
|
||||
|
||||
export function getReportRoute(id: string | number) {
|
||||
return `https://${currentUser.value?.server}/admin/reports/${encodeURIComponent(id)}`
|
||||
}
|
||||
|
||||
export function getStatusRoute(status: mastodon.v1.Status) {
|
||||
return useRouter().resolve({
|
||||
name: 'status',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue