fix: use assigned role to fill in roles in open roles indicator (#4499)
This commit is contained in:
parent
7d5e84b7be
commit
ab6685ebf7
1 changed files with 1 additions and 2 deletions
|
|
@ -68,8 +68,7 @@ class ChatListItemSubtitle extends StatelessWidget {
|
|||
return OpenRolesIndicator(
|
||||
totalSlots: room.activityPlan!.req.numberOfParticipants,
|
||||
userIds:
|
||||
room.activityRoles?.roles.values.map((r) => r.userId).toList() ??
|
||||
[],
|
||||
room.assignedRoles?.values.map((r) => r.userId).toList() ?? [],
|
||||
room: room,
|
||||
space: room.courseParent,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue