diff --git a/src/pages/Entry.vue b/src/pages/Entry.vue index 2a539fb81..6b0e08fc6 100644 --- a/src/pages/Entry.vue +++ b/src/pages/Entry.vue @@ -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?