From 550fa7e7e758155fa3ea80fc3361e88947f7fe15 Mon Sep 17 00:00:00 2001 From: Michael Rogers Date: Wed, 14 Jun 2023 11:02:40 -0500 Subject: [PATCH] Cleanup --- src/plugins/operatorStatus/operatorStatus/OperatorStatus.vue | 2 +- src/plugins/userIndicator/components/UserIndicator.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/operatorStatus/operatorStatus/OperatorStatus.vue b/src/plugins/operatorStatus/operatorStatus/OperatorStatus.vue index 18d9cca97d..dc86d756eb 100644 --- a/src/plugins/operatorStatus/operatorStatus/OperatorStatus.vue +++ b/src/plugins/operatorStatus/operatorStatus/OperatorStatus.vue @@ -156,7 +156,7 @@ export default { }, async changeStatus() { 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; } diff --git a/src/plugins/userIndicator/components/UserIndicator.vue b/src/plugins/userIndicator/components/UserIndicator.vue index a4ac3f7119..a495080557 100644 --- a/src/plugins/userIndicator/components/UserIndicator.vue +++ b/src/plugins/userIndicator/components/UserIndicator.vue @@ -67,7 +67,6 @@ export default { this.promptForRoleSelection(); } - // todo confirm status role this.role = await this.openmct.user.status.getStatusRoleForCurrentUser(); },