Explorar o código

AMBARI-1989. Add component shows the same component again even if the component is already added/installed/started. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1469638 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako %!s(int64=12) %!d(string=hai) anos
pai
achega
b161772dfe
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/views/main/host/summary.js

+ 3 - 0
CHANGES.txt

@@ -768,6 +768,9 @@ Trunk (unreleased changes):
 
 
  BUG FIXES
  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-1988. Hostname pattern expression is broken. (yusaku)
 
 
  AMBARI-1986. HDFS General section has disappeared from Customize Services 
  AMBARI-1986. HDFS General section has disappeared from Customize Services 

+ 1 - 1
ambari-web/app/views/main/host/summary.js

@@ -161,7 +161,7 @@ App.MainHostSummaryView = Em.View.extend({
       components.pushObject(this.addableComponentObject.create({ 'componentName': 'HBASE_REGIONSERVER' }));
       components.pushObject(this.addableComponentObject.create({ 'componentName': 'HBASE_REGIONSERVER' }));
     }
     }
     return components;
     return components;
-  }.property('content'),
+  }.property('content', 'content.hostComponents.length'),
 
 
   ComponentView: Em.View.extend({
   ComponentView: Em.View.extend({
     content: null,
     content: null,