FIX: Avatars in small post actions weren't clickable

This commit is contained in:
Robin Ward 2016-02-10 14:05:37 -05:00
parent 88c104bb83
commit 5af834b6d0
1 changed files with 5 additions and 1 deletions

View File

@ -45,7 +45,11 @@ export default createWidget('post-small-action', {
}));
}
contents.push(avatarFor.call(this, 'small', { template: attrs.avatar_template, username: attrs.avatar }));
contents.push(avatarFor.call(this, 'small', {
template: attrs.avatar_template,
username: attrs.avatar,
url: attrs.usernameUrl
}));
const description = actionDescriptionHtml(attrs.actionCode, attrs.created_at, attrs.actionCodeWho);
contents.push(new RawHtml({ html: `<p>${description}</p>` }));