diff --git a/src/plugins/userIndicator/components/UserIndicator.vue b/src/plugins/userIndicator/components/UserIndicator.vue index aab20c4b3d..8c1dcd29f1 100644 --- a/src/plugins/userIndicator/components/UserIndicator.vue +++ b/src/plugins/userIndicator/components/UserIndicator.vue @@ -81,6 +81,9 @@ export default { name: role })); // automatically select only role option + if (selectionOptions.length === 0) { + return; + } if (selectionOptions.length === 1) { this.updateRole(selectionOptions[0].key); return;