diff --git a/src/plugins/userIndicator/components/UserIndicator.vue b/src/plugins/userIndicator/components/UserIndicator.vue index 16df1129df..6ea1027f03 100644 --- a/src/plugins/userIndicator/components/UserIndicator.vue +++ b/src/plugins/userIndicator/components/UserIndicator.vue @@ -67,8 +67,8 @@ export default { this.promptForRoleSelection(); } }, - promptForRoleSelection() { - const allRoles = this.openmct.user.getPossibleRoles(); + async promptForRoleSelection() { + const allRoles = await this.openmct.user.getPossibleRoles(); const selectionOptions = allRoles.map((role) => ({ key: role, name: role