Fix: entryPage setting can be null (#3994)

pull/3883/head^2
Nelson Chan 6 months ago committed by GitHub
parent b534fde265
commit 5b6522a54e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save