mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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);
|
const description = actionDescriptionHtml(attrs.actionCode, attrs.created_at, attrs.actionCodeWho);
|
||||||
contents.push(new RawHtml({ html: `<p>${description}</p>` }));
|
contents.push(new RawHtml({ html: `<p>${description}</p>` }));
|
||||||
|
Loading…
Reference in New Issue
Block a user