diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-30 13:58:50 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-30 13:58:50 +0300 |
commit | df7c90116ba1203f1cb1150bb99fa5a4c99e0280 (patch) | |
tree | 85c6c5ed86f2372ff3ebdfc6a888cbf7540a44dc /app/assets/javascripts/issue_show/stores | |
parent | 3465e1e52c812a4a4f4fe941ab04569ebf2a2c12 (diff) |
fixed issuable shortcuts not working
moved setstate method into store
Diffstat (limited to 'app/assets/javascripts/issue_show/stores')
-rw-r--r-- | app/assets/javascripts/issue_show/stores/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/issue_show/stores/index.js b/app/assets/javascripts/issue_show/stores/index.js index fbb95866671..4a16c3cb4dc 100644 --- a/app/assets/javascripts/issue_show/stores/index.js +++ b/app/assets/javascripts/issue_show/stores/index.js @@ -38,4 +38,8 @@ export default class Store { description: this.state.descriptionText !== data.description_text, }; } + + setFormState(state) { + this.formState = Object.assign(this.formState, state); + } } |