From 201c10416e0aeaa2f28c1f6e5168077fc5ecacd1 Mon Sep 17 00:00:00 2001 From: Nelson Chan <3271800+chakflying@users.noreply.github.com> Date: Sat, 28 Oct 2023 10:34:15 +0800 Subject: [PATCH] Fix: Entry page setting in Dev mode (#3940) --- src/pages/Entry.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Entry.vue b/src/pages/Entry.vue index b87c4d99..2a539fb8 100644 --- a/src/pages/Entry.vue +++ b/src/pages/Entry.vue @@ -33,10 +33,10 @@ export default { } else if (res.type === "entryPage") { // Dev only. For production, the logic is in the server side const entryPage = res.entryPage; - - if (entryPage === "statusPage") { - this.$router.push("/status"); + if (entryPage.startsWith("statusPage-")) { + this.$router.push("/status/" + entryPage.replace("statusPage-", "")); } else { + // should the old setting style still exist here? this.$router.push("/dashboard"); } } else if (res.type === "setup-database") {