Skip to content

A platform for community discussion. Free, open, simple.

FIX: displays user-card when clicking on avatar of post small action (#6941)

Joffrey JAFFEUX1f8ff85ff90f
diff --git a/app/assets/javascripts/discourse/widgets/post-small-action.js.es6 b/app/assets/javascripts/discourse/widgets/post-small-action.js.es6
index b1caf065b6a..92cd072bf95 100644
--- a/app/assets/javascripts/discourse/widgets/post-small-action.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post-small-action.js.es6
@@ -102,7 +102,7 @@ export default createWidget("post-small-action", {
contents.push(
avatarFor.call(this, "small", {
template: attrs.avatar_template,
- username: attrs.avatar,
+ username: attrs.username,
url: attrs.usernameUrl
})
);