From a4c04c17ebdc0d7bfb8d98bcba68fbb6ef699671 Mon Sep 17 00:00:00 2001 From: Marko Simon Date: Fri, 23 Dec 2022 12:26:31 +0100 Subject: [PATCH] add nullchecks for uptimePercentage Signed-off-by: Marko Simon --- plugins/ilert/src/components/ServicesPage/ServicesTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ilert/src/components/ServicesPage/ServicesTable.tsx b/plugins/ilert/src/components/ServicesPage/ServicesTable.tsx index 30a83e4cec..2597986031 100644 --- a/plugins/ilert/src/components/ServicesPage/ServicesTable.tsx +++ b/plugins/ilert/src/components/ServicesPage/ServicesTable.tsx @@ -86,7 +86,7 @@ export const ServicesTable = ({ cellStyle: smColumnStyle, headerStyle: smColumnStyle, render: rowData => ( - {rowData.uptime.uptimePercentage.p90} + {rowData.uptime?.uptimePercentage?.p90 || ''} ), }; const actionsColumn: TableColumn = {