mirror of https://github.com/prometheus/prometheus
Remove unneeded <Group> in TSDBStatusPage
Signed-off-by: Julius Volz <julius.volz@gmail.com>pull/14872/head
parent
07856b4bb9
commit
b75a12b52f
|
@ -1,4 +1,4 @@
|
||||||
import { Stack, Card, Group, Table, Text } from "@mantine/core";
|
import { Stack, Card, Table, Text } from "@mantine/core";
|
||||||
import { useSuspenseAPIQuery } from "../api/api";
|
import { useSuspenseAPIQuery } from "../api/api";
|
||||||
import { TSDBStatusResult } from "../api/responseTypes/tsdbStatus";
|
import { TSDBStatusResult } from "../api/responseTypes/tsdbStatus";
|
||||||
import { formatTimestamp } from "../lib/formatTime";
|
import { formatTimestamp } from "../lib/formatTime";
|
||||||
|
@ -71,11 +71,9 @@ export default function TSDBStatusPage() {
|
||||||
},
|
},
|
||||||
].map(({ title, unit = "Count", stats, formatAsCode }) => (
|
].map(({ title, unit = "Count", stats, formatAsCode }) => (
|
||||||
<Card shadow="xs" withBorder p="md">
|
<Card shadow="xs" withBorder p="md">
|
||||||
<Group wrap="nowrap" align="center" ml="xs" mb="sm" gap="xs">
|
<Text fz="xl" fw={600} ml="xs" mb="sm">
|
||||||
<Text fz="xl" fw={600}>
|
{title}
|
||||||
{title}
|
</Text>
|
||||||
</Text>
|
|
||||||
</Group>
|
|
||||||
<Table layout="fixed">
|
<Table layout="fixed">
|
||||||
<Table.Thead>
|
<Table.Thead>
|
||||||
<Table.Tr>
|
<Table.Tr>
|
||||||
|
|
Loading…
Reference in New Issue