# NavBar ExtensionsRegistryProvider stopped working in kibana 7.4

**URL:** <https://discuss.elastic.co/t/navbar-extensionsregistryprovider-stopped-working-in-kibana-7-4/204872>\
**Category:** Kibana\
**Created:** [October 23, 2019, 1:01pm UTC](https://discuss.elastic.co/t/navbar-extensionsregistryprovider-stopped-working-in-kibana-7-4/204872 "2019-10-23T13:01:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sincore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sincore/32/56357_2.png) [@Sincore](https://discuss.elastic.co/u/Sincore)\
**Post date:** [October 23, 2019, 1:01pm UTC](https://discuss.elastic.co/t/navbar-extensionsregistryprovider-stopped-working-in-kibana-7-4/204872/1 "2019-10-23T13:01:36Z")

</div>

Does anyone know if the function for NavBarExtensionsRegistryProvider changed in 7.4? my code worked in 7.2 and looked like this:

```
function navbarButtonProvider(Private, $location, dashboardConfig) {
	//discover, visualize, dashboard, devtools
	return {
		appName: 'dashboard',
		key: 'test-function',
		label: 'Test Function',
		run: () => { test() },
	};
}

NavBarExtensionsRegistryProvider.register(navbarButtonProvider);

```

But now it stopped working. Any help would be great.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 23, 2019, 1:49pm UTC](https://discuss.elastic.co/t/navbar-extensionsregistryprovider-stopped-working-in-kibana-7-4/204872/2 "2019-10-23T13:49:28Z")

</div>

Hi @Sincore,

this is a known bug tracked here: [https://github.com/elastic/kibana/issues/47822](https://github.com/elastic/kibana/issues/47822)  
Unfortunately there is currently no way to do this without modifying the Kibana code and adding the additional nav bar item directly into the discover code.

Work on a fix is already in progress here: [https://github.com/elastic/kibana/pull/48542](https://github.com/elastic/kibana/pull/48542)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 20, 2019, 1:49pm UTC](https://discuss.elastic.co/t/navbar-extensionsregistryprovider-stopped-working-in-kibana-7-4/204872/3 "2019-11-20T13:49:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
