mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Merge pull request #178 from jaredevantabor/config-race-condition
fixing race condition with config service
This commit is contained in:
commit
ea0edb13eb
@ -344,11 +344,10 @@ var awApp = angular.module('awApp', [
|
||||
Authorization.restoreUserInfo(); //user must have hit browser refresh
|
||||
}
|
||||
if (next && (next.name !== "signIn" && next.name !== "signOut" && next.name !== "license")) {
|
||||
if($rootScope.configReady === true){
|
||||
ConfigService.getConfig().then(function() {
|
||||
// if not headed to /login or /logout, then check the license
|
||||
CheckLicense.test(event);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
activateTab();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user