diff --git a/awx/ui/client/src/app.js b/awx/ui/client/src/app.js index 520c9bf7e1..00fa2a3cf7 100644 --- a/awx/ui/client/src/app.js +++ b/awx/ui/client/src/app.js @@ -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();