mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Use <router-link> instead of a @click handler in SceneryTimetable
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
component: () => import('../views/StationsView.vue'),
|
||||
props: (route) => ({
|
||||
region: route.query.region
|
||||
})
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: '/trains',
|
||||
@@ -55,7 +55,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
component: () => import('../views/JournalDispatchers.vue'),
|
||||
props: (route) => ({
|
||||
region: route.query.region
|
||||
})
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: '/:catchAll(.*)',
|
||||
|
||||
Reference in New Issue
Block a user