Set isDefault true by default for private registry

rancher/rancher#19325
This commit is contained in:
Westly Wright 2019-05-16 10:39:19 -07:00
parent 1296bfcb1a
commit ff3fbef950
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ export default Component.extend({
}, },
actions: { actions: {
addRegistry() { addRegistry(isDefault = true) {
this.addRegistry(set(this, 'privateRegistry', this.newPrivateRegistry())); this.addRegistry(set(this, 'privateRegistry', this.newPrivateRegistry('privateRegistry', isDefault)));
}, },
removeRegistry(registry) { removeRegistry(registry) {