DataTable: color timestamps gray

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-07-17 11:31:32 +02:00
parent c67b7a7c56
commit ea54dac130

View file

@ -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>