diff options
author | Phil Hughes <me@iamphill.com> | 2019-01-24 17:48:03 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-01-24 17:48:03 +0300 |
commit | 2f40aa68d92f3f51167aaccc9fab2801ee185605 (patch) | |
tree | 54f8d590511170db8d7f4db6a16dda1830a9ec54 /app/assets/javascripts/diffs/store/modules/diff_state.js | |
parent | da251c6436d6e17b18911d37c1b18314fb29329d (diff) |
Added dropdown for diff settings
Dropdown includes buttons for tree view rendering mode
and buttons for the compare view (inline or side-by-side)
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55491
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 98e57d52d77..05b4c552f6e 100644 --- a/app/assets/javascripts/diffs/store/modules/diff_state.js +++ b/app/assets/javascripts/diffs/store/modules/diff_state.js @@ -27,4 +27,6 @@ export default () => ({ projectPath: '', commentForms: [], highlightedRow: null, + renderTreeList: true, + showWhitespace: true, }); |