mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Hotfix
This commit is contained in:
@@ -169,9 +169,10 @@ export default defineComponent({
|
|||||||
const computedScheduledTrains = computed(() => {
|
const computedScheduledTrains = computed(() => {
|
||||||
if (!props.stationInfo) return [];
|
if (!props.stationInfo) return [];
|
||||||
|
|
||||||
let scheduledTrains = props.stationInfo.checkpoints?.find(
|
let scheduledTrains =
|
||||||
(cp) => cp.checkpointName === selectedCheckpoint.value
|
props.stationInfo.checkpoints?.find(
|
||||||
)?.scheduledTrains;
|
(cp) => cp.checkpointName === selectedCheckpoint.value
|
||||||
|
)?.scheduledTrains || props.stationInfo.scheduledTrains;
|
||||||
|
|
||||||
// if (props.stationInfo.checkpoints)
|
// if (props.stationInfo.checkpoints)
|
||||||
// scheduledTrains = props.stationInfo.checkpoints.find(
|
// scheduledTrains = props.stationInfo.checkpoints.find(
|
||||||
|
|||||||
Reference in New Issue
Block a user