Support editing

This commit is contained in:
tusooa 2023-03-10 19:24:01 -05:00
commit ba5cad90d8
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
6 changed files with 63 additions and 31 deletions

View file

@ -46,9 +46,15 @@
</div>
<div v-if="editing">
<PostStatusForm
v-if="draft.type !== 'edit'"
v-bind="postStatusFormProps"
@posted="handlePosted"
/>
<EditStatusForm
v-else
:params="postStatusFormProps"
@posted="handlePosted"
/>
</div>
<teleport to="#modal">
<confirm-modal