Feat: Empty View Low Level Component
This commit is contained in:
1 parent
e5246e82cc
commit
2879126565
3 files changed
+93
No files matched your search
@@ -45,6 +45,7 @@ const ChartBoxes = ({
|
||||
<ChartBox
|
||||
icon={<UptimeIcon />}
|
||||
header="Uptime"
|
||||
isEmpty={monitor?.uptimePercentage === 0 && !monitor?.upChecks?.length}
|
||||
>
|
||||
<Stack
|
||||
width={"100%"}
|
||||
@@ -95,6 +96,8 @@ const ChartBoxes = ({
|
||||
<ChartBox
|
||||
icon={<IncidentsIcon />}
|
||||
header="Incidents"
|
||||
noDataMessage="Great. No Incidents, yet!"
|
||||
isEmpty={!monitor?.groupedDownChecks?.length}
|
||||
>
|
||||
<Stack width={"100%"}>
|
||||
<Box position="relative">
|
||||
|
||||
Reference in new issue
Block a user