Do not set @use_legacy_diff_notes
This commit is contained in:
parent
1f73afd045
commit
ce30827ccb
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue