Feat: Empty View Low Level Component

This commit is contained in:
Aryaman Kumar Sharma committed 2025-02-19 22:32:09 +05:30
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">