mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 07:43:33 +08:00
Update js/src/common/models/User.ts
Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
parent
3bca30121b
commit
528c964d94
|
@ -116,7 +116,7 @@ export default class User extends Model {
|
|||
|
||||
if (groups) {
|
||||
groups.forEach((group) => {
|
||||
items.add(`group${group?.id()}`, GroupBadge.component({ group }));
|
||||
items.add(`group${group?.id()}`, <GroupBadge group={group} />);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user