diff --git a/packages/jaeger-ui/src/components/App/TopNav.js b/packages/jaeger-ui/src/components/App/TopNav.js
index d414395836..fe4f0d5d40 100644
--- a/packages/jaeger-ui/src/components/App/TopNav.js
+++ b/packages/jaeger-ui/src/components/App/TopNav.js
@@ -52,21 +52,19 @@ if (getConfigValue('dependencies.menuEnabled')) {
});
}
-function CustomNavDropdown({ label, items }: ConfigMenuGroup) {
- const menuItems = (
-
+function getItemLink(item: ConfigMenuItem) {
+ const { label, anchorTarget, url } = item;
+ return (
+
+
+ {label}
+
+
);
+}
+
+function CustomNavDropdown({ label, items }: ConfigMenuGroup) {
+ const menuItems = ;
return (
@@ -84,20 +82,13 @@ export function TopNavImpl(props: Props) {