mirror of https://github.com/rancher/ui.git
Fix incorrect call to driverSave action
This commit is contained in:
parent
b60cf88156
commit
cccc24e660
|
|
@ -69,7 +69,7 @@ export default Component.extend(ClusterDriver, {
|
||||||
|
|
||||||
promptUpgradeWarning(cb){
|
promptUpgradeWarning(cb){
|
||||||
if (!get(this, 'needsUpgradeWarning')){
|
if (!get(this, 'needsUpgradeWarning')){
|
||||||
this.driverSave(cb)
|
this.send('driverSave', cb);
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
@ -151,7 +151,7 @@ export default Component.extend(ClusterDriver, {
|
||||||
if (canceled){
|
if (canceled){
|
||||||
btnCB(false)
|
btnCB(false)
|
||||||
} else {
|
} else {
|
||||||
this.driverSave(btnCB);
|
this.send('driverSave', btnCB);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue