mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Fix a broken avatar when showing who deleted a post
This commit is contained in:
parent
73e4d866d2
commit
2e640baffd
@ -62,7 +62,7 @@ Discourse.ActionsHistoryView = Discourse.View.extend({
|
||||
if (post.get('deleted')) {
|
||||
buffer.push("<div class='post-action'>" +
|
||||
I18n.t("post.deleted_by") + " " +
|
||||
Discourse.Utilities.tinyAvatar(post.get('postDeletedBy.username')) +
|
||||
Discourse.Utilities.tinyAvatar(post.get('postDeletedBy.avatar_template')) +
|
||||
Discourse.Formatter.autoUpdatingRelativeAge(new Date(post.get('postDeletedAt'))) +
|
||||
"</div>");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user