defensive checks
This commit is contained in:
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 ?? []} />;
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user