Renamed the admin type to corporate
This commit is contained in:
@@ -278,7 +278,7 @@ export default function History({user}: {user: User}) {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{(user.type === "admin" || user.type === "teacher") && groups.length > 0 && (
|
||||
{(user.type === "corporate" || user.type === "teacher") && groups.length > 0 && (
|
||||
<Select
|
||||
options={users
|
||||
.filter((x) => groups.flatMap((y) => y.participants).includes(x.id))
|
||||
|
||||
Reference in New Issue
Block a user