mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 17:23:21 +00:00
Fix: entryPage setting can be null (#3994)
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ export default {
|
||||
|
||||
} else if (res.type === "entryPage") { // Dev only. For production, the logic is in the server side
|
||||
const entryPage = res.entryPage;
|
||||
if (entryPage.startsWith("statusPage-")) {
|
||||
if (entryPage?.startsWith("statusPage-")) {
|
||||
this.$router.push("/status/" + entryPage.replace("statusPage-", ""));
|
||||
} else {
|
||||
// should the old setting style still exist here?
|
||||
|
||||
Reference in New Issue
Block a user