Support editing
This commit is contained in:
parent
8a7f17ac9e
commit
ba5cad90d8
6 changed files with 63 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue