diagnostics locale

This commit is contained in:
Alex Holliday committed 2025-12-17 14:18:06 -08:00
1 parent 9f695ecdcc
commit 5489a107f9
5 files changed
+100 -38

No files matched your search

+4 -4
View File
@@ -16,14 +16,14 @@ const getHeaders = (t: Function, uiTimezone: string) => {
const headers: Header<ICheck>[] = [
{
id: "status",
content: t("monitors.common.table.headers.status"),
content: t("common.table.headers.status"),
render: (row) => {
return <StatusLabel status={row.status as MonitorStatus} />;
},
},
{
id: "date",
content: t("monitors.common.table.headers.dateTime"),
content: t("checks.table.headers.dateTime"),
render: (row) => {
return formatDateWithTz(
row.createdAt,
@@ -34,14 +34,14 @@ const getHeaders = (t: Function, uiTimezone: string) => {
},
{
id: "message",
content: t("monitors.common.table.headers.message"),
content: t("common.table.headers.message"),
render: (row) => {
return row.message || "N/A";
},
},
{
id: "statusCode",
content: t("monitors.common.table.headers.statusCode"),
content: t("checks.table.headers.statusCode"),
render: (row) => {
return row.httpStatusCode || "N/A";
},