mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
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…
x
Reference in New Issue
Block a user