瀏覽代碼

AMBARI-2599. Services page: master components tooltip should show display names. (Andrii Babiichuk via yusaku)

Yusaku Sako 12 年之前
父節點
當前提交
5555ff381a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/views/main/dashboard/service.js

+ 1 - 1
ambari-web/app/views/main/dashboard/service.js

@@ -31,7 +31,7 @@ App.MainDashboardServiceHealthView = Em.View.extend({
   'data-original-title': function(){
   'data-original-title': function(){
     var popupText = "";
     var popupText = "";
     this.get("service").get("hostComponents").filterProperty('isMaster', true).forEach(function(item){
     this.get("service").get("hostComponents").filterProperty('isMaster', true).forEach(function(item){
-      popupText +=" " + item.get("componentName") + " " + item.get("componentTextStatus");
+      popupText += item.get("displayName") + " " + item.get("componentTextStatus") + "<br/>";
     });
     });
     return popupText;
     return popupText;
   }.property('service.healthStatus'),
   }.property('service.healthStatus'),