diff options
author | Sam Bigelow <sbigelow@gitlab.com> | 2019-01-30 06:21:26 +0300 |
---|---|---|
committer | Sam Bigelow <sbigelow@gitlab.com> | 2019-02-06 20:11:09 +0300 |
commit | 2a2f48a5b16d9eaff38317f13aee739cd2c16eaf (patch) | |
tree | a6e347c23193e41510a27287815a9ff8117287c5 /app/assets/javascripts/diffs/store/modules | |
parent | e69d9db5d08118cdea27346c314a2a79c56dc9b7 (diff) |
Clearly display diff statistics for MRs
Put the statistics in the compare-versions header for the entire MR
Put them in the file header for each individual file
Diffstat (limited to 'app/assets/javascripts/diffs/store/modules')
-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 05b4c552f6e..0e3c668fff6 100644 --- a/app/assets/javascripts/diffs/store/modules/diff_state.js +++ b/app/assets/javascripts/diffs/store/modules/diff_state.js @@ -11,6 +11,8 @@ const storedTreeShow = localStorage.getItem(MR_TREE_SHOW_KEY); export default () => ({ isLoading: true, + addedLines: null, + removedLines: null, endpoint: '', basePath: '', commit: null, |