Abandon draft after all postings

This commit is contained in:
tusooa 2023-03-10 19:28:08 -05:00
commit e67e5ff899
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 4 additions and 6 deletions

View file

@ -58,10 +58,6 @@ const Draft = {
},
hideConfirmDialog () {
this.showingConfirmDialog = false
},
handlePosted () {
console.debug('posted')
this.doAbandon()
}
}
}

View file

@ -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">