Commit ce30827c authored by Douwe Maan's avatar Douwe Maan

Do not set `@use_legacy_diff_notes`

parent 1f73afd0
......@@ -45,7 +45,7 @@ module NotesHelper
# tab, would show in different discussions on the discussion tab.
use_legacy_diff_note ||= begin
line_diff_notes = @grouped_diff_notes[line_code]
@use_legacy_diff_notes = line_diff_notes && line_diff_notes.any?(&:legacy_diff_note?)
line_diff_notes && line_diff_notes.any?(&:legacy_diff_note?)
end
data = {
......
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