BigW Consortium Gitlab

Commit ce30827c by Douwe Maan

Do not set `@use_legacy_diff_notes`

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