diff --git a/web/ui/mantine-ui/src/pages/AlertsPage.tsx b/web/ui/mantine-ui/src/pages/AlertsPage.tsx index 18325350b6..a659bae2ab 100644 --- a/web/ui/mantine-ui/src/pages/AlertsPage.tsx +++ b/web/ui/mantine-ui/src/pages/AlertsPage.tsx @@ -12,6 +12,7 @@ import { TextInput, Anchor, Pagination, + rem, } from "@mantine/core"; import { useSuspenseAPIQuery } from "../api/api"; import { AlertingRule, AlertingRulesResult } from "../api/responseTypes/rules"; @@ -222,7 +223,7 @@ export default function AlertsPage() { p="md" key={i} // TODO: Find a stable and definitely unique key. > - + {g.name} @@ -280,6 +281,7 @@ export default function AlertsPage() { {items.map((r, j) => { return ( - + {r.rule.name} diff --git a/web/ui/mantine-ui/src/pages/RulesPage.tsx b/web/ui/mantine-ui/src/pages/RulesPage.tsx index 0888fe4737..ef1e1d6243 100644 --- a/web/ui/mantine-ui/src/pages/RulesPage.tsx +++ b/web/ui/mantine-ui/src/pages/RulesPage.tsx @@ -91,10 +91,9 @@ export default function RulesPage() { shadow="xs" withBorder p="md" - mb="md" key={i} // TODO: Find a stable and definitely unique key. > - + {g.name} @@ -147,6 +146,7 @@ export default function RulesPage() { {items.map((r, j) => ( - + {r.type === "alerting" ? (