Просмотр исходного кода

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 12 лет назад
Родитель
Сommit
b161772dfe
2 измененных файлов с 4 добавлено и 1 удалено
  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
 
+ 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 

+ 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' }));
     }
     return components;
-  }.property('content'),
+  }.property('content', 'content.hostComponents.length'),
 
   ComponentView: Em.View.extend({
     content: null,