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