Parcourir la source

AMBARI-2635. Perf: Service summary view inefficiently binds to host components. (srimanth)

Srimanth Gunturi il y a 12 ans
Parent
commit
e0435fafe1
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      ambari-web/app/views/main/service/info/summary.js

+ 3 - 1
ambari-web/app/views/main/service/info/summary.js

@@ -236,7 +236,9 @@ App.MainServiceInfoSummaryView = Em.View.extend({
           components.push(obj);
         }
       });
-      this.set('components', components);
+      if(!this.get('isDestroyed') && !this.get('isDestroying')){
+        this.set('components', components);
+      }
   },
   
   _hostComponentsUpd: function() {