mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 44df685606 | |||
| 785a42b849 | |||
| ccfcca8728 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "stacjownik",
|
||||
"version": "1.24.3",
|
||||
"version": "1.24.4",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -63,7 +63,9 @@ export default defineComponent({
|
||||
|
||||
return this.onlineScenery.stationTrains.map((train) => {
|
||||
const stop = train.timetableData?.followingStops.find(
|
||||
(stop) => stop.stopNameRAW.toLowerCase() == name.toLowerCase()
|
||||
(stop) =>
|
||||
stop.stopNameRAW.toLowerCase() == name.toLowerCase() ||
|
||||
this.station?.generalInfo?.checkpoints.includes(stop.stopNameRAW)
|
||||
);
|
||||
|
||||
const status = stop
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
class="timetable-item"
|
||||
v-else
|
||||
v-for="(row, i) in sceneryTimetables"
|
||||
:key="row.train.id"
|
||||
:key="row.train.id + i"
|
||||
tabindex="0"
|
||||
@click.prevent.stop="selectModalTrain(row.train, $event.currentTarget)"
|
||||
@keydown.enter.prevent="selectModalTrain(row.train, $event.currentTarget)"
|
||||
|
||||
Reference in New Issue
Block a user