mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Możliwość dodawania numeru pociągu w linku
This commit is contained in:
@@ -242,7 +242,7 @@ export default defineComponent({
|
||||
navigateToTrain(trainNo: number) {
|
||||
this.$router.push({
|
||||
name: "TrainsView",
|
||||
params: { train: trainNo.toString() },
|
||||
query: { train: trainNo.toString() },
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<router-link
|
||||
:to="{
|
||||
name: 'TrainsView',
|
||||
params: {
|
||||
query: {
|
||||
train: scheduledTrain.trainNo.toString(),
|
||||
},
|
||||
}"
|
||||
|
||||
Reference in New Issue
Block a user