feat(reply): navigate to thread on publish (#852)
This commit is contained in:
parent
c1aac9d2dc
commit
1817afdb23
3 changed files with 6 additions and 2 deletions
3
composables/status.ts
Normal file
3
composables/status.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { Status } from 'masto'
|
||||
|
||||
export const navigateToStatus = ({ status, focusReply = false }: { status: Status; focusReply?: boolean }) => navigateTo({ path: getStatusRoute(status).href, state: { focusReply } })
|
Loading…
Add table
Add a link
Reference in a new issue