Merge pull request #2182 from peZhmanParsaee/bugfix/hide-certificate-expiry-for-non-http-uptimes

hide certificate expiry box for non-http uptimes
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-05-07 10:30:06 -07:00
commit 8bee0513cc
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>
); );
}; };