Dodano id pociągu jako parametr

This commit is contained in:
2022-09-22 19:09:28 +02:00
parent 65abe550f5
commit dbba83b28b
2 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const routes: Array<RouteRecordRaw> = [
path: '/trains',
name: 'TrainsView',
component: () => import('../views/TrainsView.vue'),
props: (route) => ({ train: route.query.train, driver: route.query.driver }),
props: (route) => ({ train: route.query.train, driver: route.query.driver, trainId: route.query.trainId }),
},
{
path: '/scenery',