소스 검색

AMBARI-14345. Information missing from header bar in UI

Alex Antonenko 9 년 전
부모
커밋
77d68fb90e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ambari-web/app/controllers/application.js

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

@@ -46,8 +46,8 @@ App.ApplicationController = Em.Controller.extend(App.UserPref, {
   isExistingClusterDataLoaded: Em.computed.and('App.router.clusterInstallCompleted', 'isClusterDataLoaded'),
 
   enableLinks: function() {
-    return this.isExistingClusterDataLoaded && !App.get('isOnlyViewUser');
-  }.property(),
+    return this.get('isExistingClusterDataLoaded') && !App.get('isOnlyViewUser');
+  }.property('isExistingClusterDataLoaded'),
 
   /**
    * Determines if "Exit" menu-item should be shown