Skip to content
Snippets Groups Projects
Commit 39fcd445 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Use note.author for issue comment avatars

This removes the need for running a query to find the User object again
based on the supplied Email address.
parent 1554786c
No related branches found
No related tags found
1 merge request!1578Performance improvements when viewing individual issues
Loading
Loading
@@ -2,7 +2,7 @@
.timeline-entry-inner
.timeline-icon
= link_to user_path(note.author) do
= image_tag avatar_icon(note.author_email), class: 'avatar s40', alt: ''
= image_tag avatar_icon(note.author), class: 'avatar s40', alt: ''
.timeline-content
.note-header
- if note_editable?(note)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment