mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 12:05:19 +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…
x
Reference in New Issue
Block a user