You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/06/26 23:40:09 UTC

svn commit: r1497119 - /incubator/ambari/trunk/ambari-web/app/views/main/host.js

Author: yusaku
Date: Wed Jun 26 21:40:09 2013
New Revision: 1497119

URL: http://svn.apache.org/r1497119
Log:
AMBARI-2493. Main hosts page "Hosts with alerts" wrong count. (Oleg Nechiporenko via yusaku)

Modified:
    incubator/ambari/trunk/ambari-web/app/views/main/host.js

Modified: incubator/ambari/trunk/ambari-web/app/views/main/host.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/main/host.js?rev=1497119&r1=1497118&r2=1497119&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/main/host.js (original)
+++ incubator/ambari/trunk/ambari-web/app/views/main/host.js Wed Jun 26 21:40:09 2013
@@ -112,7 +112,7 @@ App.MainHostView = App.TableView.extend(
       } else {
         return this.get('view.content').filterProperty('healthClass', statusString ).get('length');
       }
-    }.property('view.content.@each.healthClass'),
+    }.property('view.content.@each.healthClass', 'view.content.@each.criticalAlertsCount'),
 
     label: function () {
       return "%@ (%@)".fmt(this.get('value'), this.get('hostsCount'));