Merge pull request #2176 from bluewave-labs/Addition-Of-Bulk-Import-In-Fallback

Addition of fallback in the main page.
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-05-03 16:32:43 -07:00
commit 8627db206a
2 files changed
+13 -1

No files matched your search

+11
View File
@@ -118,6 +118,17 @@ 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")}
>
{t("bulkImport.fallbackPage")}
</Button>
)}
{/* Warning box for PageSpeed monitor */}
{(title === "pagespeed monitor" && showPageSpeedWarning) && (
+2 -1
View File
@@ -408,6 +408,7 @@
"parsingFailed": "Parsing failed",
"uploadSuccess": "Monitors created successfully!",
"validationFailed": "Validation failed",
"noFileSelected": "No file selected"
"noFileSelected": "No file selected",
"fallbackPage": "Import a file to upload a list of servers in bulk"
}
}