Skip to content

Commit

Permalink
Fix: Entry page setting in Dev mode (louislam#3940)
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Oct 28, 2023
1 parent b32d869 commit 201c104
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Entry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 201c104

Please sign in to comment.