Skip to content

Commit

Permalink
🔨 Change route from appointments to bookings
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Aug 1, 2024
1 parent 13019af commit 02a3915
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ provide(fxaEditProfileUrlKey, import.meta.env?.VITE_FXA_EDIT_PROFILE);
const navItems = [
'calendar',
'schedule',
'appointments',
'bookings',
'settings',
];
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ const routes: RouteRecordRaw[] = [
{
path: '/appointments/:view?/:slug?',
name: 'appointments',
redirect: { name: 'bookings' },
},
{
path: '/bookings/:view?/:slug?',
name: 'bookings',
component: AppointmentsView,
},
{
Expand Down

0 comments on commit 02a3915

Please sign in to comment.