mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: removed return button
This commit is contained in:
+8
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user