mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 08:25:59 +08:00
remove null class
This commit is contained in:
parent
53ec4c44f4
commit
00700da6b8
@ -111,7 +111,7 @@ TopicList.reopenClass({
|
|||||||
if (p.primary_group_id) {
|
if (p.primary_group_id) {
|
||||||
p.primary_group = groups[p.primary_group_id];
|
p.primary_group = groups[p.primary_group_id];
|
||||||
if (p.primary_group) {
|
if (p.primary_group) {
|
||||||
p.extraClasses += ` group-${p.primary_group.name}`;
|
p.extraClasses = `${p.extraClasses||''} group-${p.primary_group.name}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user