Skip to content

Commit

Permalink
fix: ignore pick up only stops in associations, too
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jul 9, 2024
1 parent a6f5c25 commit 5b5ca0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/AmeyLiveTrainAnnouncements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ function getCancelledCallingPoints(
if (!s.crs) return false
if (!s.isCancelled || s.isOperational || s.isPass) return false
if (!stations.includes(s.crs)) return false
// Ignore pick-up only
if (s.activities?.includes('U')) return false
return true
})
.map(l => ({ crsCode: l.crs!! })),
Expand Down

0 comments on commit 5b5ca0d

Please sign in to comment.