From c3af54ef5e53418691d656d6a81752bd82833a0a Mon Sep 17 00:00:00 2001 From: Jam <1347620+JamsRepos@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:57:08 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=9A=91=20Solved=20issue=20with=20t?= =?UTF-8?q?he=20routes=20clashing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wizarr-frontend/src/modules/home/router/index.ts | 4 ++-- apps/wizarr-frontend/src/modules/home/views/Home.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/wizarr-frontend/src/modules/home/router/index.ts b/apps/wizarr-frontend/src/modules/home/router/index.ts index cb201995..58794629 100644 --- a/apps/wizarr-frontend/src/modules/home/router/index.ts +++ b/apps/wizarr-frontend/src/modules/home/router/index.ts @@ -14,12 +14,12 @@ const routes: Readonly = [ // TODO: Remove this route after a few versions to allow users to get used to the new route { path: '/j/:invite', - name: 'invite', + name: 'deprecated-invite', component: () => import('../views/Home.vue'), }, { path: '/join', - name: 'home', + name: 'deprecated-join', component: () => import('../views/Home.vue'), }, ]; diff --git a/apps/wizarr-frontend/src/modules/home/views/Home.vue b/apps/wizarr-frontend/src/modules/home/views/Home.vue index 624ba34b..5dd6da33 100644 --- a/apps/wizarr-frontend/src/modules/home/views/Home.vue +++ b/apps/wizarr-frontend/src/modules/home/views/Home.vue @@ -92,7 +92,7 @@ export default defineComponent({ activeStep: 0, views: [ { - name: 'join', + name: 'home', title: this.__('Please enter your invite code:'), component: () => import('../pages/JoinForm.vue'), },