train modal

This commit is contained in:
2024-03-31 21:37:14 +02:00
parent c3533f07ad
commit 235c16e30f
5 changed files with 60 additions and 38 deletions
-6
View File
@@ -8,12 +8,6 @@ export default defineComponent({
};
},
computed: {
chosenTrain() {
return this.store.trainList.find((train) => train.trainId == this.store.chosenModalTrainId);
}
},
methods: {
selectModalTrain(trainId: string, target?: EventTarget | null) {
this.store.chosenModalTrainId = trainId;