From a New Search, Select Index
diff --git a/src/ui/public/kbn_top_nav/kbn_top_nav.js b/src/ui/public/kbn_top_nav/kbn_top_nav.js
index 2d4cd3ef91476..2003ccb162c4f 100644
--- a/src/ui/public/kbn_top_nav/kbn_top_nav.js
+++ b/src/ui/public/kbn_top_nav/kbn_top_nav.js
@@ -99,9 +99,10 @@ module.directive('kbnTopNav', function (Private) {
});
});
- const extensions = getNavbarExtensions($attrs.name);
-
let controls = _.get($scope, $attrs.config, []);
+ const noMenuExtensions = $attrs.hasOwnProperty('noMenuExtensions');
+ const extensions = noMenuExtensions ? [] : getNavbarExtensions($attrs.name);
+
if (controls instanceof KbnTopNavController) {
controls.addItems(extensions);
} else {