diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 3ea4f396a0..4e9cf8c95f 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -52,10 +52,10 @@ <% end %> - <% if @note_comments.length > 1 %> + <% if @note_comments.length > (@note.author_deleted? ? 0 : 1) %>
- <% @note_comments.drop(1).each do |comment| %> + <% @note_comments.drop(@note.author_deleted? ? 0 : 1).each do |comment| %>-
<%= note_event(comment.event, comment.created_at, comment.author) %>