mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 08:31:01 +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) {
|
if (groups) {
|
||||||
groups.forEach((group) => {
|
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