Prevent main post form from being associated with draft on load
This commit is contained in:
parent
bae81f8d39
commit
b3236e707c
|
@ -138,7 +138,8 @@ const PostStatusForm = {
|
|||
|
||||
const [statusType, refId] = typeAndRefId({ replyTo: this.replyTo, statusId: this.statusId })
|
||||
|
||||
let statusParams = this.getDraft(statusType, refId)
|
||||
// If we are starting a new post, do not associate it with old drafts
|
||||
let statusParams = (this.draftId || statusType !== 'new') ? this.getDraft(statusType, refId) : null
|
||||
|
||||
if (!statusParams) {
|
||||
if (statusType === 'reply') {
|
||||
|
|
Loading…
Reference in New Issue