Removed unneeded getStatusRoleForCurrentUser function

This commit is contained in:
Khalid Adil 2023-07-12 19:56:04 -05:00
parent 9ebe21eb5b
commit 81c33efc6e

View File

@ -121,12 +121,6 @@ export default class ExampleUserProvider extends EventEmitter {
return this.user.getRoles();
}
getStatusRoleForCurrentUser(role) {
const matchedRole = this.statusRoleValues.find((statusRole) => statusRole.role === role);
return Promise.resolve(matchedRole?.status);
}
getAllStatusRoles() {
return Promise.resolve(this.statusRoles);
}