diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-09-14 11:25:13 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-09-14 11:25:13 +0300 |
commit | ae5600b868308fd4094a8ddf1d6278fa6f5a5a7c (patch) | |
tree | 81f4f3a119ed6e293bb052188d41ea0ebf09c234 /app/assets/javascripts/diffs/store/modules/diff_state.js | |
parent | 32b96bfd81ff254142dbd9c73e1a494308213cb3 (diff) |
Create specs for diffs/components/app and update modules to export factory functions
Diffstat (limited to 'app/assets/javascripts/diffs/store/modules/diff_state.js')
-rw-r--r-- | app/assets/javascripts/diffs/store/modules/diff_state.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/diffs/store/modules/diff_state.js b/app/assets/javascripts/diffs/store/modules/diff_state.js index 39d90a64aab..eb596b251c1 100644 --- a/app/assets/javascripts/diffs/store/modules/diff_state.js +++ b/app/assets/javascripts/diffs/store/modules/diff_state.js @@ -11,8 +11,10 @@ export default () => ({ endpoint: '', basePath: '', commit: null, + startVersion: null, diffFiles: [], mergeRequestDiffs: [], + mergeRequestDiff: null, diffLineCommentForms: {}, diffViewType: viewTypeFromQueryString || viewTypeFromCookie || defaultViewType, }); |