Explorar o código

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

aBabiichuk %!s(int64=11) %!d(string=hai) anos
pai
achega
afd5844e78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);