Skip to content

Commit

Permalink
fix: 🚑 Solved issue with the routes clashing
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsRepos committed Apr 30, 2024
1 parent a603d56 commit c3af54e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/wizarr-frontend/src/modules/home/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ const routes: Readonly<RouteRecordRaw[]> = [
// 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'),
},
];
Expand Down
2 changes: 1 addition & 1 deletion apps/wizarr-frontend/src/modules/home/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
Expand Down

0 comments on commit c3af54e

Please sign in to comment.