feat: allow searching for statuses (#632)
This commit is contained in:
parent
86a604ae9c
commit
12280afe70
7 changed files with 25 additions and 7 deletions
|
@ -111,6 +111,16 @@ export function getStatusRoute(status: Status) {
|
|||
})
|
||||
}
|
||||
|
||||
export function getTagRoute(tag: string) {
|
||||
return useRouter().resolve({
|
||||
name: 'tag',
|
||||
params: {
|
||||
server: currentServer.value,
|
||||
tag,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export function getStatusPermalinkRoute(status: Status) {
|
||||
return status.url ? withoutProtocol(status.url) : null
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue