ENCOA-133: Teachers within a Group should be able to view the Group assignments
This commit is contained in:
@@ -320,7 +320,7 @@ export default function MasterCorporateDashboard({user}: Props) {
|
||||
() =>
|
||||
users.filter(
|
||||
(x) =>
|
||||
x.type === "student" &&
|
||||
(x.type === "student" || x.type === "teacher") &&
|
||||
(!!selectedUser
|
||||
? groups
|
||||
.filter((g) => g.admin === selectedUser.id)
|
||||
|
||||
Reference in New Issue
Block a user