mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
DataTable: color timestamps gray
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
c67b7a7c56
commit
ea54dac130
|
@ -9,6 +9,7 @@ import {
|
|||
ScrollArea,
|
||||
Group,
|
||||
Stack,
|
||||
Text,
|
||||
} from "@mantine/core";
|
||||
import { IconAlertTriangle, IconInfoCircle } from "@tabler/icons-react";
|
||||
import {
|
||||
|
@ -168,12 +169,15 @@ const DataTable: FC<DataTableProps> = ({ expr, evalTime, retriggerIdx }) => {
|
|||
{s.values &&
|
||||
s.values.map((v, idx) => (
|
||||
<div key={idx}>
|
||||
{v[1]} @{" "}
|
||||
{
|
||||
<span title={formatTimestamp(v[0], useLocalTime)}>
|
||||
{v[0]}
|
||||
</span>
|
||||
}
|
||||
{v[1]}{" "}
|
||||
<Text
|
||||
span
|
||||
c="gray.7"
|
||||
size="1em"
|
||||
title={formatTimestamp(v[0], useLocalTime)}
|
||||
>
|
||||
@ {v[0]}
|
||||
</Text>
|
||||
</div>
|
||||
))}
|
||||
</Table.Td>
|
||||
|
|
Loading…
Reference in a new issue