mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 01:26:18 -05:00
FIX: primary group name class missing from poster name
This commit is contained in:
parent
960620d91b
commit
28f857c530
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue