Commit a2aee704 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'defect/mr-bug-fixes' into 'master'

Fix for: check for highlighted_diff_lines iterates over parallel_diff_lines; parallel left/right duplicates property

See merge request gitlab-org/gitlab!21573
parents 748d7736 86f4e987
......@@ -72,7 +72,7 @@ export default {
lineCode() {
return (
this.line.line_code ||
(this.line.left && this.line.line.left.line_code) ||
(this.line.left && this.line.left.line_code) ||
(this.line.right && this.line.right.line_code)
);
},
......
......@@ -498,7 +498,7 @@ export const allDiscussionWrappersExpanded = diff => {
}
});
} else if (diff.highlighted_diff_lines) {
diff.parallel_diff_lines.forEach(line => {
diff.highlighted_diff_lines.forEach(line => {
if (line.discussions.length) {
discussionsExpandedArray.push(line.discussionsExpanded);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment