Abandon draft after all postings
This commit is contained in:
parent
ba5cad90d8
commit
e67e5ff899
3 changed files with 4 additions and 6 deletions
|
|
@ -58,10 +58,6 @@ const Draft = {
|
|||
},
|
||||
hideConfirmDialog () {
|
||||
this.showingConfirmDialog = false
|
||||
},
|
||||
handlePosted () {
|
||||
console.debug('posted')
|
||||
this.doAbandon()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,12 +48,10 @@
|
|||
<PostStatusForm
|
||||
v-if="draft.type !== 'edit'"
|
||||
v-bind="postStatusFormProps"
|
||||
@posted="handlePosted"
|
||||
/>
|
||||
<EditStatusForm
|
||||
v-else
|
||||
:params="postStatusFormProps"
|
||||
@posted="handlePosted"
|
||||
/>
|
||||
</div>
|
||||
<teleport to="#modal">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue