chore: removed return button

This commit is contained in:
2024-08-23 16:22:54 +02:00
parent b0870699a4
commit c031dd55c1
4 changed files with 18 additions and 11 deletions
+8 -2
View File
@@ -7,7 +7,7 @@ const routes: Array<RouteRecordRaw> = [
component: () => import('../views/StationsView.vue'),
props: (route) => ({
region: route.query.region
}),
})
},
{
path: '/trains',
@@ -56,7 +56,7 @@ const routes: Array<RouteRecordRaw> = [
component: () => import('../views/JournalDispatchers.vue'),
props: (route) => ({
region: route.query.region
}),
})
},
{
path: '/:catchAll(.*)',
@@ -79,4 +79,10 @@ const router = createRouter({
routes
});
router.beforeEach((to, from, next) => {
next((vm) => {
(vm as any)['xd'] = 'xd';
});
});
export default router;