diff --git a/airflow-core/src/airflow/ui/src/layouts/Nav/NavButton.tsx b/airflow-core/src/airflow/ui/src/layouts/Nav/NavButton.tsx
index 4ebaa90b7c3ea..6c0eec7f18e7f 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Nav/NavButton.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Nav/NavButton.tsx
@@ -45,6 +45,13 @@ export const NavButton = ({ icon, isExternal = false, title, to, ...rest }: NavB
{title}
) : isExternal ? (
+
+
+
+ ) : (
{({ isActive }: { readonly isActive: boolean }) => (
)}
- ) : (
-
-
-
);