Skip to content

Commit

Permalink
Merge pull request #395 from leozhang2018/fix-provider-switch
Browse files Browse the repository at this point in the history
fix:preserve default configuration when switching provider
  • Loading branch information
leozhang2018 authored Jan 14, 2022
2 parents bc10534 + 09dba6f commit bda70a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/projects/common/integration_registry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default {
secret_key: '',
reg_provider: val,
region: '',
is_default: false
is_default: this.registry.is_default
}
this.$refs.registry.clearValidate()
})
Expand Down
2 changes: 1 addition & 1 deletion src/components/setting/registry/manage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export default {
secret_key: '',
reg_provider: val,
region: '',
is_default: false
is_default: this.registry.is_default
}
this.$refs.registry.clearValidate()
})
Expand Down

0 comments on commit bda70a9

Please sign in to comment.