From 28ebdcb216f3ccdfab79721ee397abbc1b4f4c9e Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 8 Dec 2025 18:19:07 +0000 Subject: [PATCH] update incident table --- client/src/pages/incidents/IncidentTable.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/client/src/pages/incidents/IncidentTable.tsx b/client/src/pages/incidents/IncidentTable.tsx index 2cb019c7a..b1ed66086 100644 --- a/client/src/pages/incidents/IncidentTable.tsx +++ b/client/src/pages/incidents/IncidentTable.tsx @@ -1,4 +1,4 @@ -import { Table, Pagination, ValueLabel } from "@/components/design-elements"; +import { Table, Pagination, ValueLabel, StatusLabel } from "@/components/design-elements"; import Box from "@mui/material/Box"; import Typography from "@mui/material/Typography"; import { Button } from "@/components/inputs"; @@ -70,10 +70,11 @@ export const IncidentTable = ({ id: "status", content: "Current monitor status", render: (row) => { - return ( - - {row.monitorId?.status} - + const status = row.monitorId?.status; + return status ? ( + + ) : ( + N/A ); }, },