浏览代码

AMBARI-6181 Heatmaps page incomplete loading of hosts. (Max Shepel via ababiichuk)

aBabiichuk 11 年之前
父节点
当前提交
afd5844e78
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/views/main/charts/heatmap/heatmap_rack.js

+ 1 - 1
ambari-web/app/views/main/charts/heatmap/heatmap_rack.js

@@ -29,7 +29,7 @@ App.MainChartsHeatmapRackView = Em.View.extend({
   /** loaded hosts of rack */
   hosts: function() {
     return this.get('rack.hosts').toArray();
-  }.property('rack.hosts'),
+  }.property('rack.hosts', 'rack.hosts.length'),
 
   willInsertElement: function () {
     this.set('rack.isLoaded', false);