mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
Suppress role selection if no roles available (#6802)
This commit is contained in:
parent
e386036dbf
commit
662d14354c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user