mirror of
https://github.com/nasa/openmct.git
synced 2025-01-14 00:40:06 +00:00
Cleanup
This commit is contained in:
parent
78d686607e
commit
550fa7e7e7
@ -156,7 +156,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async changeStatus() {
|
async changeStatus() {
|
||||||
if (!this.openmct.user.canProvideStatusForRole()) {
|
if (!this.openmct.user.canProvideStatusForRole()) {
|
||||||
this.openmct.notifications.error('User role is ineligible to provide operator status')
|
this.openmct.notifications.error('Selected role is ineligible to provide operator status');
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ export default {
|
|||||||
this.promptForRoleSelection();
|
this.promptForRoleSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo confirm status role
|
|
||||||
this.role = await this.openmct.user.status.getStatusRoleForCurrentUser();
|
this.role = await this.openmct.user.status.getStatusRoleForCurrentUser();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user