diff --git a/pkg/api/index.go b/pkg/api/index.go
index ae153feccdd..5646c06027d 100644
--- a/pkg/api/index.go
+++ b/pkg/api/index.go
@@ -526,7 +526,7 @@ func (hs *HTTPServer) buildLegacyAlertNavLinks() []*dtos.NavLink {
{
Text: "Alerting",
SubTitle: "Alert rules and notifications",
- Id: "alerting",
+ Id: "alerting-legacy",
Icon: "bell",
Url: hs.Cfg.AppSubURL + "/alerting/list",
Children: alertChildNavs,
diff --git a/public/app/core/components/NavBar/Next/NavBarNext.tsx b/public/app/core/components/NavBar/Next/NavBarNext.tsx
index 526cea4fd00..47dec60eb9f 100644
--- a/public/app/core/components/NavBar/Next/NavBarNext.tsx
+++ b/public/app/core/components/NavBar/Next/NavBarNext.tsx
@@ -70,7 +70,6 @@ export const NavBarNext = React.memo(() => {
if (kiosk !== KioskMode.Off) {
return null;
}
-
return (