diff options
author | Sam Bigelow <sbigelow@gitlab.com> | 2018-11-30 11:48:47 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-30 11:48:47 +0300 |
commit | 44a0121ad4a0851d7b7c723afebd3c4b07adc6c3 (patch) | |
tree | 959cd708f81bc45f1c4737a1753fc6f95160a8db /app/assets/javascripts/diffs/store/mutations.js | |
parent | 0d5cbd16ee3b8eac49d134af063b1827748f2b6d (diff) |
Resolve "Merge request refactor does not highlight selected line"
Diffstat (limited to 'app/assets/javascripts/diffs/store/mutations.js')
-rw-r--r-- | app/assets/javascripts/diffs/store/mutations.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/diffs/store/mutations.js b/app/assets/javascripts/diffs/store/mutations.js index 7baf2ed17e6..f0895661bf2 100644 --- a/app/assets/javascripts/diffs/store/mutations.js +++ b/app/assets/javascripts/diffs/store/mutations.js @@ -241,4 +241,7 @@ export default { [types.CLOSE_DIFF_FILE_COMMENT_FORM](state, fileHash) { state.commentForms = state.commentForms.filter(form => form.fileHash !== fileHash); }, + [types.SET_HIGHLIGHTED_ROW](state, lineCode) { + state.highlightedRow = lineCode; + }, }; |