hide certificate expiry box for non-http uptimes

This commit is contained in:
Pezhman Parsaee committed 2025-05-04 01:21:53 +02:00
1 parent d76e3d42a1
commit 3df19fc516
1 file changed
+2
@@ -61,6 +61,7 @@ const UptimeStatusBoxes = ({
</> </>
} }
/> />
{monitor?.type === "http" && (
<StatBox <StatBox
heading="certificate expiry" heading="certificate expiry"
subHeading={ subHeading={
@@ -73,6 +74,7 @@ const UptimeStatusBoxes = ({
</Typography> </Typography>
} }
/> />
)}
</StatusBoxes> </StatusBoxes>
); );
}; };