diff options
Diffstat (limited to 'app/controllers/notes_controller.rb')
-rw-r--r-- | app/controllers/notes_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index e04a61b2905..000c7bbb641 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -71,6 +71,7 @@ class NotesController < ProjectResourceController # Helps to distinguish e.g. commit notes in mr notes list def note_for_main_target?(note) - @target_type.camelize == note.noteable_type && !note.for_diff_line? + note.for_wall? || + (@target_type.camelize == note.noteable_type && !note.for_diff_line?) end end |