浏览代码

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