Fixed the strict evaluation and text of the button.
This commit is contained in:
1 parent
5d6ae745f4
commit
712fd0a56f
2 files changed
+3
-4
No files matched your search
@@ -118,16 +118,15 @@ 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 */}
|
{/* Bulk create of uptime monitors */}
|
||||||
{title == "uptime monitor" && (
|
{title === "uptime monitor" && (
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
color="accent"
|
color="accent"
|
||||||
sx={{ alignSelf: "center" }}
|
sx={{ alignSelf: "center" }}
|
||||||
onClick={() => navigate("/uptime/bulk-import")}
|
onClick={() => navigate("/uptime/bulk-import")}
|
||||||
>
|
>
|
||||||
{t("bulkImport.fallbackPage")} {title}
|
{t("bulkImport.fallbackPage")}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -409,6 +409,6 @@
|
|||||||
"uploadSuccess": "Monitors created successfully!",
|
"uploadSuccess": "Monitors created successfully!",
|
||||||
"validationFailed": "Validation failed",
|
"validationFailed": "Validation failed",
|
||||||
"noFileSelected": "No file selected",
|
"noFileSelected": "No file selected",
|
||||||
"fallbackPage": "Click here for bulk"
|
"fallbackPage": "Import a file to upload a list of servers in bulk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user