mirror of https://github.com/rancher/ui.git
Set isDefault true by default for private registry
rancher/rancher#19325
This commit is contained in:
parent
1296bfcb1a
commit
ff3fbef950
|
|
@ -38,8 +38,8 @@ export default Component.extend({
|
|||
},
|
||||
|
||||
actions: {
|
||||
addRegistry() {
|
||||
this.addRegistry(set(this, 'privateRegistry', this.newPrivateRegistry()));
|
||||
addRegistry(isDefault = true) {
|
||||
this.addRegistry(set(this, 'privateRegistry', this.newPrivateRegistry('privateRegistry', isDefault)));
|
||||
},
|
||||
|
||||
removeRegistry(registry) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue