diff --git a/ui/app/components/secure-variable-form.js b/ui/app/components/secure-variable-form.js index 379302670..bc6d048c6 100644 --- a/ui/app/components/secure-variable-form.js +++ b/ui/app/components/secure-variable-form.js @@ -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; } }