Methods
L
N
Instance Public methods
loading_more_notes?()
# File app/helpers/notes_helper.rb, line 2
def loading_more_notes?
  params[:loading_more].present?
end
loading_new_notes?()
# File app/helpers/notes_helper.rb, line 6
def loading_new_notes?
  params[:loading_new].present?
end
note_for_main_target?(note)

Helps to distinguish e.g. commit notes in mr notes list

# File app/helpers/notes_helper.rb, line 11
def note_for_main_target?(note)
  !@mixed_targets || @main_target_type == note.noteable_type
end