Look at all note comments to find the close event

Fixes #2612
This commit is contained in:
Tom Hughes 2020-05-06 14:06:04 +01:00
parent 9a87412d2a
commit 7e925c3c00
2 changed files with 2 additions and 1 deletions

View file

@ -15,7 +15,7 @@
<%= note_event("opened", @note.created_at, @note.author) %>
<% if @note.status == "closed" %>
<br />
<%= note_event(@note.status, @note.closed_at, @note_comments.last.author) %>
<%= note_event(@note.status, @note.closed_at, @note.all_comments.last.author) %>
<% end %>
</div>