mirror of
https://github.com/nasa/openmct.git
synced 2025-01-14 16:59:54 +00:00
Removed unneeded getStatusRoleForCurrentUser function
This commit is contained in:
parent
9ebe21eb5b
commit
81c33efc6e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user