From 28f857c530198caa4d00f6a07d9380a1b0b4e259 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 16 Sep 2016 15:09:35 -0400 Subject: [PATCH] FIX: primary group name class missing from poster name --- app/assets/javascripts/discourse/widgets/poster-name.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/poster-name.js.es6 b/app/assets/javascripts/discourse/widgets/poster-name.js.es6 index a560f6e2b..4590da342 100644 --- a/app/assets/javascripts/discourse/widgets/poster-name.js.es6 +++ b/app/assets/javascripts/discourse/widgets/poster-name.js.es6 @@ -35,7 +35,7 @@ export default createWidget('poster-name', { if (attrs.moderator) { classNames.push('moderator'); } if (attrs.new_user) { classNames.push('new-user'); } - const primaryGroupName = attrs.primaryGroupName; + const primaryGroupName = attrs.primary_group_name; if (primaryGroupName && primaryGroupName.length) { classNames.push(primaryGroupName); }