Browse Source

Move AM discovery page from "Monitoring status" -> "Server status"

Seems to at least make more sense to me like that.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/14875/head
Julius Volz 2 months ago
parent
commit
11f344e4d3
  1. 14
      web/ui/mantine-ui/src/App.tsx

14
web/ui/mantine-ui/src/App.tsx

@ -109,13 +109,6 @@ const monitoringStatusPages = [
element: <ServiceDiscoveryPage />, element: <ServiceDiscoveryPage />,
inAgentMode: true, inAgentMode: true,
}, },
{
title: "Alertmanager discovery",
path: "/discovered-alertmanagers",
icon: <IconBell style={navIconStyle} />,
element: <AlertmanagerDiscoveryPage />,
inAgentMode: false,
},
]; ];
const serverStatusPages = [ const serverStatusPages = [
@ -147,6 +140,13 @@ const serverStatusPages = [
element: <ConfigPage />, element: <ConfigPage />,
inAgentMode: true, inAgentMode: true,
}, },
{
title: "Alertmanager discovery",
path: "/discovered-alertmanagers",
icon: <IconBell style={navIconStyle} />,
element: <AlertmanagerDiscoveryPage />,
inAgentMode: false,
},
]; ];
const allStatusPages = [...monitoringStatusPages, ...serverStatusPages]; const allStatusPages = [...monitoringStatusPages, ...serverStatusPages];

Loading…
Cancel
Save