FIX: primary group name class missing from poster name

This commit is contained in:
Neil Lalonde 2016-09-16 15:09:35 -04:00
parent 960620d91b
commit 28f857c530

View file

@ -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);
}