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();
