diff --git a/awx/ui/static/js/main-menu/menu-item.directive.js b/awx/ui/static/js/main-menu/menu-item.directive.js index 7fba3d1440..ea749afd14 100644 --- a/awx/ui/static/js/main-menu/menu-item.directive.js +++ b/awx/ui/static/js/main-menu/menu-item.directive.js @@ -2,7 +2,7 @@ export default ['$route', '$rootScope', function($route, $rootScope) { return { - require: '^^mainMenu', + require: '?^^mainMenu', link: function(scope, element, attrs, mainMenuController) { var routeName = attrs.linkTo;