- added new role;
- added logic of statuses for amendment;
This commit is contained in:
@@ -53,7 +53,7 @@ const AllUsersTable = () => {
|
||||
|
||||
const getFormattedData = (data) => {
|
||||
return data
|
||||
.filter(o => ['ROLE_SUPER_ADMIN', 'ROLE_PRE_INSTRUCTOR'].includes(o.role.roleType));
|
||||
.filter(o => ['ROLE_SUPER_ADMIN', 'ROLE_PRE_INSTRUCTOR', 'ROLE_INSTRUCTOR_MANAGER'].includes(o.role.roleType));
|
||||
};
|
||||
|
||||
const clearFilter = () => {
|
||||
|
||||
Reference in New Issue
Block a user