FIX: Avatars in small post actions weren't clickable
This commit is contained in:
parent
88c104bb83
commit
5af834b6d0
|
@ -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>` }));
|
||||
|
|
Loading…
Reference in New Issue