- fixed appearance of 'director' role and users;

This commit is contained in:
Vitalii Kiiko
2026-02-12 09:43:21 +01:00
parent 723c104b97
commit bb1969b4ea
2 changed files with 2 additions and 2 deletions

View File

@@ -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,