fix loading condtitional, correct row renderng
This commit is contained in:
1 parent
f72dd799c4
commit
dc84bd8848
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ const MonitorTable = ({ isLoading, monitors }) => {
|
||||
<Host
|
||||
key={row._id}
|
||||
url={row.url}
|
||||
title={row.title}
|
||||
title={row.name}
|
||||
percentageColor={row.percentageColor}
|
||||
percentage={row.percentage}
|
||||
/>
|
||||
|
||||
@@ -41,7 +41,7 @@ const DistributedUptimeMonitors = () => {
|
||||
);
|
||||
}
|
||||
|
||||
if (typeof monitorsSummary !== "undefined" && monitorsSummary.totalMonitors === 0) {
|
||||
if (typeof monitorsSummary === "undefined" || monitorsSummary.totalMonitors === 0) {
|
||||
return (
|
||||
<Fallback
|
||||
vowelStart={false}
|
||||
|
||||
Reference in new issue
Block a user