Commit 5d173fb0adcb978a84ac8d933d13248d239a4eb2

Authored by Benjamin Renard
1 parent dbffa75c

Fix bug

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
js/app/models/InteractiveNode.js
... ... @@ -616,8 +616,9 @@ Ext.define('amdaModel.InteractiveNode', {
616 616 });
617 617 }
618 618 }
619   - else{
620   - if(this.get('nodeType') == "bkgWorks"){
  619 + else {
  620 + if((this.get('nodeType') == "bkgWorks") &&
  621 + (this.get('status') == amdaModel.BkgJobNode.STATUS_LIST.IN_PROGRESS)){
621 622 switch (this.get('jobType'))
622 623 {
623 624 case 'condition' : var type = 'Data Mining '; break;
... ...