This commit is contained in:
Michael Rogers 2023-06-14 11:02:40 -05:00
parent 78d686607e
commit 550fa7e7e7
2 changed files with 1 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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();
}, },