Browse Source

AMBARI-2080. Cluster name and Background operations indicator should disappear on logout. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1479650 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 years ago
parent
commit
b06b53d09f
2 changed files with 5 additions and 2 deletions
  1. 3 0
      CHANGES.txt
  2. 2 2
      ambari-web/app/controllers/application.js

+ 3 - 0
CHANGES.txt

@@ -828,6 +828,9 @@ Trunk (unreleased changes):
 
 
  BUG FIXES
  BUG FIXES
 
 
+ AMBARI-2080. Cluster name and Background operations indicator should
+ disappear on logout. (jaimin)
+
  AMBARI-2078. Hive Metastore host not changing on Assign Masters page. (jaimin)
  AMBARI-2078. Hive Metastore host not changing on Assign Masters page. (jaimin)
 
 
  AMBARI-2077. Update stack mock data to make testMode functional on step4 of
  AMBARI-2077. Update stack mock data to make testMode functional on step4 of

+ 2 - 2
ambari-web/app/controllers/application.js

@@ -34,8 +34,8 @@ App.ApplicationController = Em.Controller.extend({
   }.property('clusterName'),
   }.property('clusterName'),
 
 
   isClusterDataLoaded: function() {
   isClusterDataLoaded: function() {
-    return App.router.get('clusterController.isLoaded');
-  }.property('App.router.clusterController.isLoaded'),
+    return App.router.get('clusterController.isLoaded') && App.router.get('loggedIn');
+  }.property('App.router.clusterController.isLoaded','App.router.loggedIn'),
 
 
   init: function(){
   init: function(){
     this._super();
     this._super();