ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject [1/2] ambari git commit: AMBARI-10814. Edit Widget: Display name of a widget is not updated. (jaimin)
Date Wed, 29 Apr 2015 04:45:10 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 69ab430fb -> 47907b961


http://git-wip-us.apache.org/repos/asf/ambari/blob/47907b96/ambari-web/app/views/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/item.js b/ambari-web/app/views/main/service/item.js
index 1abac49..c543b17 100644
--- a/ambari-web/app/views/main/service/item.js
+++ b/ambari-web/app/views/main/service/item.js
@@ -246,8 +246,8 @@ App.MainServiceItemView = Em.View.extend({
   }.property('controller.content.serviceName','App.services.noConfigTypes'),
 
   hasHeatmapTab: function() {
-    return App.StackService.find().findProperty('serviceName', this.get('controller.content.serviceName')).get('hasHeatmapSection');
-  }.property('controller.content.serviceName'),
+    return App.get('services.servicesWithHeatmapTab').contains(this.get('controller.content.serviceName'));
+  }.property('controller.content.serviceName', 'App.services.servicesWithHeatmapTab'),
 
   didInsertElement: function () {
     this.get('controller').setStartStopState();


Mime
View raw message