Fixes cluster_deletion task binding
Closes-Bug:#1282992 Change-Id: I259e1c4d3dfc3511d4d05d50260933ad9811aace
This commit is contained in:
parent
d528441c49
commit
06f683a493
@ -75,7 +75,7 @@ function(models, utils, commonViews, dialogViews, clustersPageTemplate, clusterT
|
||||
templateHelpers: _.pick(utils, 'showDiskSize', 'showMemorySize'),
|
||||
updateInterval: 3000,
|
||||
scheduleUpdate: function() {
|
||||
if (this.model.task('cluster_deletion', ['running', 'ready']).length || this.model.tasks({group: 'deployment', status: 'running'}).length) {
|
||||
if (this.model.task('cluster_deletion', ['running', 'ready']) || this.model.tasks({group: 'deployment', status: 'running'}).length) {
|
||||
this.registerDeferred($.timeout(this.updateInterval).done(_.bind(this.update, this)));
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user