Added initial support for "mastercorporate"

This commit is contained in:
Joao Ramos
2024-07-13 17:19:42 +01:00
parent 5cfd6d56a6
commit 5d46d7e453
20 changed files with 719 additions and 182 deletions

View File

@@ -202,7 +202,7 @@ export default function Stats() {
}}
/>
)}
{(user.type === "corporate" || user.type === "teacher") && groups.length > 0 && (
{(["corporate", "teacher", "mastercorporate"].includes(user.type) ) && groups.length > 0 && (
<Select
className="w-full"
options={users