Skip to content

Commit

Permalink
refact: default dropdown option based on model (#13969)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiWithJai committed Aug 2, 2022
1 parent 728f20f commit 9dd905d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/components/secure-variable-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 9dd905d

Please sign in to comment.