From b812adf0ba23ab7c476da1b78d1842a70ee3e427 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 26 Nov 2016 12:38:33 +0100 Subject: [PATCH] Move submitDisable into data. It's not a prop, these are only for passing data, not for local data. --- src/components/post_status_form/post_status_form.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 9995813e96..b17fdaa1f3 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -23,14 +23,12 @@ const PostStatusForm = { props: [ 'replyTo', 'repliedUser', - 'attentions', - 'submitDisabled' + 'attentions' ], components: { MediaUpload }, data () { - this.submitDisabled = false let statusText = '' if (this.replyTo) { @@ -39,6 +37,7 @@ const PostStatusForm = { } return { + submitDisabled: false, newStatus: { status: statusText, files: []