Addition of fallback in the main page.
This commit is contained in:
1 parent
464a6398d0
commit
8d15418777
1 file changed
+12
@@ -119,6 +119,18 @@ const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false, show
|
|||||||
Let's create your first {title}
|
Let's create your first {title}
|
||||||
</Button>
|
</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 */}
|
{/* Warning box for PageSpeed monitor */}
|
||||||
{(title === "pagespeed monitor" && showPageSpeedWarning) && (
|
{(title === "pagespeed monitor" && showPageSpeedWarning) && (
|
||||||
<Box sx={{ width: "80%", maxWidth: "600px", zIndex: 1 }}>
|
<Box sx={{ width: "80%", maxWidth: "600px", zIndex: 1 }}>
|
||||||
|
|||||||
Reference in new issue
Block a user