mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
refactor: optimization of train schedules
This commit is contained in:
@@ -21,7 +21,7 @@ export default defineComponent({
|
||||
|
||||
computed: {
|
||||
chosenTrain() {
|
||||
return this.store.trainList.find((train) => train.trainId == this.store.chosenModalTrainId);
|
||||
return this.store.trainList.find((train) => train.id == this.store.chosenModalTrainId);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user