diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-07 17:20:57 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-07 17:20:57 +0300 |
commit | d4d5ed59f98eb3218418c385327224d2512e518e (patch) | |
tree | a90cdac58c8e7e30f8fece0f2dc5012fd2ce619a /app/assets/javascripts/notes/stores/utils.js | |
parent | 982da16bf2960d13f7f67f45b29f53795d3dbd5c (diff) |
Fixes based on MR discussion around naming, mutations, handling of state
Diffstat (limited to 'app/assets/javascripts/notes/stores/utils.js')
-rw-r--r-- | app/assets/javascripts/notes/stores/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/stores/utils.js b/app/assets/javascripts/notes/stores/utils.js index a6cfd1590f5..7608790d042 100644 --- a/app/assets/javascripts/notes/stores/utils.js +++ b/app/assets/javascripts/notes/stores/utils.js @@ -31,7 +31,7 @@ export const reduceDiscussionsToLineCodes = selectedDiscussions => // For context about line notes: there might be multiple notes with the same line code const items = acc[note.line_code] || []; if (note.diff_file) { - Object.assign(note, { fileHash: note.diff_file.file_hash }); + // Object.assign(note, { fileHash: note.diff_file.file_hash }); } items.push(note); |