feat: publish via dialog

This commit is contained in:
Anthony Fu 2022-11-24 16:04:53 +08:00
parent cd2a06e969
commit 83c0fafbec
9 changed files with 42 additions and 6 deletions

View file

@ -20,6 +20,7 @@ const { data: context } = useAsyncData(`context:${id}`, () => masto.statuses.fet
<StatusDetails ref="main" :status="status" border="t base" />
<PublishWidget
v-if="currentUser"
border="t base"
:draft-key="`reply-${id}`"
:placeholder="`Reply to ${status?.account ? getDisplayName(status?.account) : 'this thread'}`"
:in-reply-to-id="id"