From 36df19e71b53a78da9db15b65c405c50089da7b3 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Mon, 15 May 2017 15:34:01 +0100 Subject: Stop passing through the store object [ci skip] --- app/assets/javascripts/issue_show/components/app.vue | 5 ++++- app/assets/javascripts/issue_show/components/fields/title.vue | 9 ++------- app/assets/javascripts/issue_show/components/title.vue | 4 ++-- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'app') diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue index ee780afc44d..abddcaa2594 100644 --- a/app/assets/javascripts/issue_show/components/app.vue +++ b/app/assets/javascripts/issue_show/components/app.vue @@ -59,6 +59,9 @@ export default { elementType() { return this.showForm ? 'form' : 'div'; }, + formState() { + return this.store.formState; + }, }, components: { descriptionComponent, @@ -142,7 +145,7 @@ export default { diff --git a/app/assets/javascripts/issue_show/components/title.vue b/app/assets/javascripts/issue_show/components/title.vue index a61ce414891..d410c61b655 100644 --- a/app/assets/javascripts/issue_show/components/title.vue +++ b/app/assets/javascripts/issue_show/components/title.vue @@ -27,7 +27,7 @@ type: String, required: true, }, - store: { + formState: { type: Object, required: true, }, @@ -56,7 +56,7 @@
+ :form-state="formState" />