Browse Source

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

aBabiichuk 11 years ago
parent
commit
03e0f066ef
1 changed files with 2 additions and 2 deletions
  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'
         error: 'updateUpgradeVersionErrorCallback'
       });
       });
     }
     }
-  }.observes('App.router.clusterController.isLoaded', 'App.currentStackVersion'),
+  }.observes('App.router.clusterController.isLoaded', 'App.currentStackVersion','App.router.mainServiceController.content.length'),
 
 
   updateUpgradeVersionSuccessCallback: function(data) {
   updateUpgradeVersionSuccessCallback: function(data) {
     var upgradeVersion = this.get('upgradeVersion') || App.defaultStackVersion;
     var upgradeVersion = this.get('upgradeVersion') || App.defaultStackVersion;
@@ -150,4 +150,4 @@ App.MainAdminClusterController = Em.Controller.extend({
     }
     }
     this.set('services', result);
     this.set('services', result);
   }
   }
-});
+});