Skip to content

Commit

Permalink
fix region selector (#40)
Browse files Browse the repository at this point in the history
fix region selector

Fixed region selection, removed predefined selection which leads to wrong auth calls

Reviewed-by: Artem Lifshits
  • Loading branch information
anton-sidelnikov committed May 13, 2024
1 parent a612f96 commit 485dda3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default Ember.Component.extend(NodeDriver, {
bootstrap: function () {
let config = get(this, 'globalStore').createRecord({
type: '%%DRIVERNAME%%Config',
region: regions[0],
region: '',
username: '',
password: '',
domainName: '',
Expand Down
4 changes: 3 additions & 1 deletion component/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
</div>
<div class="col-sm-12 col-md-4">
{{#if (eq step 1)}}
{{new-select class="form-control"
{{searchable-select class="form-control"
placeholder="Please select region first"
name="region-name"
content=regionChoices
selected=""
value=config.region
}}
{{else}}
Expand Down

0 comments on commit 485dda3

Please sign in to comment.