Skip to content

Commit

Permalink
Fix: entryPage setting can be null (#3994)
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Nov 8, 2023
1 parent b534fde commit 5b6522a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Entry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 5b6522a

Please sign in to comment.