fix loading condtitional, correct row renderng

This commit is contained in:
Alex Holliday committed 2025-02-12 13:47:21 -08:00
1 parent f72dd799c4
commit dc84bd8848
2 files changed
+2 -2

No files matched your search

@@ -29,7 +29,7 @@ const MonitorTable = ({ isLoading, monitors }) => {
<Host <Host
key={row._id} key={row._id}
url={row.url} url={row.url}
title={row.title} title={row.name}
percentageColor={row.percentageColor} percentageColor={row.percentageColor}
percentage={row.percentage} percentage={row.percentage}
/> />
@@ -41,7 +41,7 @@ const DistributedUptimeMonitors = () => {
); );
} }
if (typeof monitorsSummary !== "undefined" && monitorsSummary.totalMonitors === 0) { if (typeof monitorsSummary === "undefined" || monitorsSummary.totalMonitors === 0) {
return ( return (
<Fallback <Fallback
vowelStart={false} vowelStart={false}