mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Fix: entryPage setting can be null (#3994)
This commit is contained in:
parent
b534fde265
commit
5b6522a54e
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue