- fixed appearance of 'director' role and users;
This commit is contained in:
@@ -145,7 +145,7 @@ const Users = () => {
|
||||
if (data.status === 'SUCCESS') {
|
||||
const roles = data.data
|
||||
.filter(o => [
|
||||
'ROLE_SUPER_ADMIN', 'ROLE_PRE_INSTRUCTOR', 'ROLE_INSTRUCTOR_MANAGER', 'ROLE_CONFIDI'
|
||||
'ROLE_SUPER_ADMIN', 'ROLE_PRE_INSTRUCTOR', 'ROLE_INSTRUCTOR_MANAGER', 'ROLE_CONFIDI', 'ROLE_DIRECTOR'
|
||||
].includes(o.roleType))
|
||||
.map(o => ({
|
||||
name: o.roleName,
|
||||
|
||||
Reference in New Issue
Block a user