mirror of https://github.com/rancher/ui.git
parent
524069b154
commit
3663f446e1
|
|
@ -16,10 +16,11 @@ export default Controller.extend({
|
||||||
init() {
|
init() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
let cluster = this.get('cluster');
|
let cluster = this.get('cluster');
|
||||||
if(cluster.state!=="inactive"){
|
if(cluster.state==="inactive"){
|
||||||
this.send('cancel');
|
|
||||||
}
|
|
||||||
this.scheduleRefresh();
|
this.scheduleRefresh();
|
||||||
|
}else{
|
||||||
|
this.scheduleRefresh();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
willDestroyElement() {
|
willDestroyElement() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue