소스 검색

AMBARI-3437. UI gets stuck upon page refresh on WebHCat and Nagios service pages. (atkach via yusaku)

Yusaku Sako 11 년 전
부모
커밋
618a6619a6
2개의 변경된 파일1개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 14
      ambari-web/app/templates/main/service/info/summary.hbs
  2. 1 0
      ambari-web/app/views/main/service/info/summary.js

+ 0 - 14
ambari-web/app/templates/main/service/info/summary.hbs

@@ -28,20 +28,6 @@
           <tbody>
             {{#if view.noTemplateService}}
               {{view view.sumMasterComponentView}}
-              {{#each component in view.components}}
-                {{#unless component.isMaster}}
-                  <tr>
-                    <td class="summary-label">{{component.displayName}}{{#if view.hasManyClients}}s{{/if}}</td>
-                    <td>
-                      <span class="green-live">{{view.clients.length}}</span>
-                      {{component.displayName}} {{#if view.hasManyClients}}s{{/if}} {{t common.installed}}
-                      <div class="summary-view-host">
-                        <a {{action filterHosts component}} href="javascript:void(null)">{{view.clientsHostText}}</a>
-                      </div>
-                    </td>
-                  </tr>
-                {{/unless}}
-              {{/each}}
             {{/if}}
             {{#if view.serviceStatus.hdfs}}
               {{view App.MainDashboardServiceHdfsView showOnlyRows=true serviceBinding="view.service"}}

+ 1 - 0
ambari-web/app/views/main/service/info/summary.js

@@ -58,6 +58,7 @@ App.MainServiceInfoSummaryView = Em.View.extend({
 
   noTemplateService: function () {
     var serviceName = this.get("service.serviceName");
+    //services with only master components
     if(serviceName == "WEBHCAT" || serviceName == "NAGIOS"){
       return true;
     }else{