feat: optionally hide the "Administrator? Login Here" on status page
This commit is contained in:
1 parent
7c5516cd75
commit
e6fd57d0bb
1 file changed
+1
-1
@@ -48,7 +48,7 @@ const PublicStatus = () => {
|
|||||||
let link = undefined;
|
let link = undefined;
|
||||||
const isPublic = location.pathname.startsWith("/status/uptime/public");
|
const isPublic = location.pathname.startsWith("/status/uptime/public");
|
||||||
// Public status page
|
// Public status page
|
||||||
if (isPublic) {
|
if (isPublic && statusPage && statusPage.showAdminLoginLink === true) {
|
||||||
sx = {
|
sx = {
|
||||||
paddingTop: theme.spacing(20),
|
paddingTop: theme.spacing(20),
|
||||||
paddingLeft: "20vw",
|
paddingLeft: "20vw",
|
||||||
|
|||||||
Reference in new issue
Block a user