Addition of fallback in the main page.

This commit is contained in:
Owaise Imdad committed 2025-05-02 03:25:04 +05:30
1 parent 464a6398d0
commit 8d15418777
1 file changed
+12
+12
View File
@@ -118,6 +118,18 @@ const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false, show
>
Let's create your first {title}
</Button>
{/* Bulk create of uptime monitors */}
{title == "uptime monitor" && (
<Button
variant="contained"
color="accent"
sx={{ alignSelf: "center" }}
onClick={() => navigate("/uptime/bulk-import")}
>
Click here for bulk {title}
</Button>
)}
{/* Warning box for PageSpeed monitor */}
{(title === "pagespeed monitor" && showPageSpeedWarning) && (