Remove unneccesary filter on allRoles

This commit is contained in:
Michael Rogers 2023-06-21 18:04:49 -05:00
parent 4902b31270
commit e53e761a1d
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ class UserAPI extends EventEmitter {
* @returns {Boolean}
*/
canProvideStatusForRole() {
if (!this || !this.hasProvider()) {
if (!this.hasProvider()) {
return null;
}

View File

@ -75,7 +75,7 @@ export default {
.map(role => ({
key: role,
name: role
})).filter(this.openmct.user.canProvideStatusForRole);
}));
const dialog = this.openmct.overlays.selection({
selectionOptions,