mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 22:45:24 +08:00
Update js/src/common/models/User.ts
Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
parent
c9d8e73ea9
commit
5881a053e8
@ -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…
x
Reference in New Issue
Block a user