From 1edf2dc77f8346f999d91ae85d3712cb2e344eef Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Wed, 8 Feb 2017 20:12:04 -0800 Subject: [PATCH] adding additional check to prevent race condition --- awx/ui/client/src/app.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/app.js b/awx/ui/client/src/app.js index 70efcfa1c8..c14ced247b 100644 --- a/awx/ui/client/src/app.js +++ b/awx/ui/client/src/app.js @@ -549,8 +549,11 @@ var tower = angular.module('Tower', [ Authorization.restoreUserInfo(); //user must have hit browser refresh } if (next && (next.name !== "signIn" && next.name !== "signOut" && next.name !== "license")) { - // if not headed to /login or /logout, then check the license - CheckLicense.test(event); + if($rootScope.configReady === true){ + // if not headed to /login or /logout, then check the license + CheckLicense.test(event); + } + } } activateTab();