mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Update js/src/common/models/User.ts
Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
committed by
Alexander Skvortsov
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} />);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user