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/04/19 01:42:23 UTC

svn commit: r1469638 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/views/main/host/summary.js

Author: yusaku
Date: Thu Apr 18 23:42:23 2013
New Revision: 1469638

URL: http://svn.apache.org/r1469638
Log:
AMBARI-1989. Add component shows the same component again even if the component is already added/installed/started. (yusaku)

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

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1469638&r1=1469637&r2=1469638&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Apr 18 23:42:23 2013
@@ -768,6 +768,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1989. Add component shows the same component again even if the
+ component is already added/installed/started. (yusaku)
+
  AMBARI-1988. Hostname pattern expression is broken. (yusaku)
 
  AMBARI-1986. HDFS General section has disappeared from Customize Services 

Modified: incubator/ambari/trunk/ambari-web/app/views/main/host/summary.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/main/host/summary.js?rev=1469638&r1=1469637&r2=1469638&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/main/host/summary.js (original)
+++ incubator/ambari/trunk/ambari-web/app/views/main/host/summary.js Thu Apr 18 23:42:23 2013
@@ -161,7 +161,7 @@ App.MainHostSummaryView = Em.View.extend
       components.pushObject(this.addableComponentObject.create({ 'componentName': 'HBASE_REGIONSERVER' }));
     }
     return components;
-  }.property('content'),
+  }.property('content', 'content.hostComponents.length'),
 
   ComponentView: Em.View.extend({
     content: null,