Explorar el Código

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

atkach hace 11 años
padre
commit
1dddef3bcf
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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({