فهرست منبع

AMBARI-4950 Excessive requests on routing between tabs. (atkach)

atkach 11 سال پیش
والد
کامیت
1dddef3bcf
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ambari-web/app/router.js

+ 2 - 2
ambari-web/app/router.js

@@ -20,8 +20,8 @@ var App = require('app');
 
 App.WizardRoute = Em.Route.extend({
   isRoutable: function() {
-    return (typeof this.get('route') === 'string' && App.router.getAuthenticated());
-  }.property().volatile()
+    return (typeof this.get('route') === 'string' && App.router.get('loggedIn'));
+  }.property('App.router.loggedIn')
 });
 
 App.Router = Em.Router.extend({