refact: default dropdown option based on model (#13969)
This commit is contained in:
parent
e43744f45f
commit
13bf88fdf7
|
@ -46,7 +46,7 @@ export default class SecureVariableFormComponent extends Component {
|
|||
|
||||
// Set first namespace option
|
||||
if (options.length) {
|
||||
this.variableNamespace = options[0].key;
|
||||
this.variableNamespace = this.args.model.namespace;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue