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(() => {
|
||||
if (!props.stationInfo) return [];
|
||||
|
||||
let scheduledTrains = props.stationInfo.checkpoints?.find(
|
||||
(cp) => cp.checkpointName === selectedCheckpoint.value
|
||||
)?.scheduledTrains;
|
||||
let scheduledTrains =
|
||||
props.stationInfo.checkpoints?.find(
|
||||
(cp) => cp.checkpointName === selectedCheckpoint.value
|
||||
)?.scheduledTrains || props.stationInfo.scheduledTrains;
|
||||
|
||||
// if (props.stationInfo.checkpoints)
|
||||
// scheduledTrains = props.stationInfo.checkpoints.find(
|
||||
|
||||
Reference in New Issue
Block a user