FIX: missing avatars from categories page when ajax loaded

UX: display last poster on categories page instead of OP
This commit is contained in:
Sam
2016-08-31 14:02:30 +10:00
parent 50379183e1
commit 55fad7b339
2 changed files with 15 additions and 3 deletions

View File

@@ -2,9 +2,9 @@
<tbody>
<tr data-topic-id={{topic.id}} class="{{if topic.archived 'archived'}}">
<td class="topic-poster">
{{#with topic.creator as |op|}}
{{#user-link user=op}}
{{avatar op imageSize="large"}}
{{#with topic.lastPoster as |lastPoster|}}
{{#user-link user=lastPoster}}
{{avatar lastPoster imageSize="large"}}
{{/user-link}}
{{/with}}
</td>