mirror of
https://github.com/nasa/openmct.git
synced 2025-03-21 03:25:44 +00:00
Fix naming of method (#5368)
This commit is contained in:
parent
164f39695e
commit
5685a5b393
@ -168,7 +168,7 @@ export default class StatusAPI extends EventEmitter {
|
||||
*/
|
||||
async resetStatusForRole(role) {
|
||||
const provider = this.#userAPI.getProvider();
|
||||
const defaultStatus = await this.getDefaultStatus();
|
||||
const defaultStatus = await this.getDefaultStatusForRole(role);
|
||||
|
||||
if (provider.setStatusForRole) {
|
||||
return provider.setStatusForRole(role, defaultStatus);
|
||||
|
Loading…
x
Reference in New Issue
Block a user