diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index f3da8c12e0..16bbb8f9ca 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -442,8 +442,7 @@ angular.module('Tower', [ function activateTab() { // Make the correct tab active - var base = $location.path().replace(/^\//, '').split('/')[0], - urlDepth = $location.path().replace(/^\//, '').split('/').length; + var base = $location.path().replace(/^\//, '').split('/')[0]; if (base === '') { base = 'home';