浏览代码

AMBARI-4624 Added service(s) summary is absent on admin/cluster page. (Mikhail Bayuk via ababiichuk)

aBabiichuk 11 年之前
父节点
当前提交
03e0f066ef
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ambari-web/app/controllers/main/admin/cluster.js

+ 2 - 2
ambari-web/app/controllers/main/admin/cluster.js

@@ -36,7 +36,7 @@ App.MainAdminClusterController = Em.Controller.extend({
         error: 'updateUpgradeVersionErrorCallback'
       });
     }
-  }.observes('App.router.clusterController.isLoaded', 'App.currentStackVersion'),
+  }.observes('App.router.clusterController.isLoaded', 'App.currentStackVersion','App.router.mainServiceController.content.length'),
 
   updateUpgradeVersionSuccessCallback: function(data) {
     var upgradeVersion = this.get('upgradeVersion') || App.defaultStackVersion;
@@ -150,4 +150,4 @@ App.MainAdminClusterController = Em.Controller.extend({
     }
     this.set('services', result);
   }
-});
+});