mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 00:31:06 +00:00
Remove unneccesary filter on allRoles
This commit is contained in:
parent
4902b31270
commit
e53e761a1d
@ -135,7 +135,7 @@ class UserAPI extends EventEmitter {
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
canProvideStatusForRole() {
|
||||
if (!this || !this.hasProvider()) {
|
||||
if (!this.hasProvider()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ export default {
|
||||
.map(role => ({
|
||||
key: role,
|
||||
name: role
|
||||
})).filter(this.openmct.user.canProvideStatusForRole);
|
||||
}));
|
||||
|
||||
const dialog = this.openmct.overlays.selection({
|
||||
selectionOptions,
|
||||
|
Loading…
Reference in New Issue
Block a user