mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 00:31:06 +00:00
Return null instead of undefined
This commit is contained in:
parent
295efee47a
commit
4902b31270
@ -136,7 +136,7 @@ class UserAPI extends EventEmitter {
|
||||
*/
|
||||
canProvideStatusForRole() {
|
||||
if (!this || !this.hasProvider()) {
|
||||
return Promise.resolve(undefined);
|
||||
return null;
|
||||
}
|
||||
|
||||
const activeRole = this.getActiveRole();
|
||||
|
Loading…
Reference in New Issue
Block a user