Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-15 17:34:01 +0300
committerPhil Hughes <me@iamphill.com>2017-05-15 17:34:01 +0300
commit36df19e71b53a78da9db15b65c405c50089da7b3 (patch)
treec773cf98b7dbfd95bfbd6a1433af96ee7e855a93 /app/assets/javascripts/issue_show/components/fields/title.vue
parent14387b49a56bf31e7d250611cf2b40b2a8928c08 (diff)
Stop passing through the store object
[ci skip]
Diffstat (limited to 'app/assets/javascripts/issue_show/components/fields/title.vue')
-rw-r--r--app/assets/javascripts/issue_show/components/fields/title.vue9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/assets/javascripts/issue_show/components/fields/title.vue b/app/assets/javascripts/issue_show/components/fields/title.vue
index 732a4021205..01ae6fd3dd2 100644
--- a/app/assets/javascripts/issue_show/components/fields/title.vue
+++ b/app/assets/javascripts/issue_show/components/fields/title.vue
@@ -1,16 +1,11 @@
<script>
export default {
props: {
- store: {
+ formState: {
type: Object,
required: true,
},
},
- data() {
- return {
- state: this.store.formState,
- };
- },
};
</script>
@@ -27,6 +22,6 @@
type="text"
placeholder="Issue title"
aria-label="Issue title"
- v-model="state.title" />
+ v-model="formState.title" />
</fieldset>
</template>