defensive checks

This commit is contained in:
Alex Holliday committed 2025-12-31 20:51:30 +00:00
1 parent 86cfc89545
commit 7f15811fdf
11 files changed
+57 -20

No files matched your search

@@ -206,9 +206,9 @@ export const MonitorTable = ({
content: t("monitors.uptime.table.headers.responseTime"),
render: (row) => {
if (chartType === "histogram") {
return <HistogramResponseTime checks={row.latestChecks} />;
return <HistogramResponseTime checks={row.latestChecks ?? []} />;
} else {
return <HeatmapResponseTime checks={row.latestChecks} />;
return <HeatmapResponseTime checks={row.latestChecks ?? []} />;
}
},
},