mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawki stylów i kodu
This commit is contained in:
@@ -144,7 +144,6 @@ export default defineComponent({
|
||||
|
||||
toggleTimetable(train: Train, state?: boolean) {
|
||||
const id = this.getTrainId(train);
|
||||
console.log(id, this);
|
||||
|
||||
if (state !== undefined) {
|
||||
this.chosenTrainId = state ? id : null;
|
||||
@@ -158,10 +157,6 @@ export default defineComponent({
|
||||
this.chosenTrainId = null;
|
||||
},
|
||||
|
||||
showTrainId(train: Train) {
|
||||
console.log(this.getTrainId(train));
|
||||
},
|
||||
|
||||
getTrainId(train: Train) {
|
||||
return train.driverName + train.trainNo.toString();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user