diff --git a/src/components/draft/draft.js b/src/components/draft/draft.js index ffc3671a..cb07ec5c 100644 --- a/src/components/draft/draft.js +++ b/src/components/draft/draft.js @@ -50,7 +50,6 @@ const Draft = { this.showingConfirmDialog = true }, doAbandon () { - console.debug('abandoning') this.$store.dispatch('abandonDraft', { id: this.draft.id }) .then(() => { this.hideConfirmDialog() diff --git a/src/components/drafts/drafts.js b/src/components/drafts/drafts.js index 6703a48e..201417f6 100644 --- a/src/components/drafts/drafts.js +++ b/src/components/drafts/drafts.js @@ -8,7 +8,6 @@ const Drafts = { }, computed: { drafts () { - console.debug('available drafts:', this.$store.getters.draftsArray) return this.$store.getters.draftsArray } } diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 81846995..f830048e 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -707,7 +707,6 @@ const PostStatusForm = { }, saveDraft () { if (!this.saveInhibited) { - console.debug('Saving status', this.newStatus) this.$store.dispatch('addOrSaveDraft', { draft: this.newStatus }) .then(id => { if (this.newStatus.id !== id) { @@ -720,16 +719,12 @@ const PostStatusForm = { this.$store.dispatch('abandonDraft', { id: this.newStatus.id }) }, getDraft (statusType, refId) { - console.debug('type and ref:', [statusType, refId]) - const maybeDraft = this.$store.state.drafts.drafts[this.draftId] if (this.draftId && maybeDraft) { - console.debug('current draft:', maybeDraft) return maybeDraft } else { const existingDrafts = this.$store.getters.draftsByTypeAndRefId(statusType, refId) - console.debug('existing drafts:', existingDrafts) if (existingDrafts.length) { return existingDrafts[0] }