From 832e0f75bf78164a9c745a088ee8abc9583e972d Mon Sep 17 00:00:00 2001
From: booploops <49113086+booploops@users.noreply.github.com>
Date: Fri, 17 Dec 2021 18:25:30 -0800
Subject: [PATCH] routes
---
resources/cider-ui/index.js | 2 +-
resources/cider-ui/views/main.ejs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/resources/cider-ui/index.js b/resources/cider-ui/index.js
index d7263fa1..8e207a23 100644
--- a/resources/cider-ui/index.js
+++ b/resources/cider-ui/index.js
@@ -553,7 +553,7 @@ const app = new Vue({
// if the route contains does not include a / then route to the page directly
if (route.indexOf("/") == -1) {
this.page = route
- window.location.hash = `${page}/${id}`
+ window.location.hash = this.page
return
}
let hash = route.split("/")
diff --git a/resources/cider-ui/views/main.ejs b/resources/cider-ui/views/main.ejs
index 9e950199..0f1d3471 100644
--- a/resources/cider-ui/views/main.ejs
+++ b/resources/cider-ui/views/main.ejs
@@ -174,7 +174,7 @@
@@ -456,7 +456,7 @@