Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified data/gtfs-regional-rail.tar.gz
Binary file not shown.
6 changes: 1 addition & 5 deletions src/components/Explorer/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,7 @@ const Explorer: React.FunctionComponent<Props> = (props) => {
return <JourneyErrorState />;
}
const [baseline, enhanced] = journeys as JourneyInfo[];
// make sure to show error state if regional rail is the one to fail
if (
enhanced.navigationFailed ||
(baseline.navigationFailed && enhanced.navigationFailed)
) {
if (baseline.navigationFailed && enhanced.navigationFailed) {
return <JourneyErrorState />;
}

Expand Down
3 changes: 3 additions & 0 deletions src/stations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export const stationsByLine: Record<string, Station[]> = {
{ id: "place-bbsta", name: "Back Bay" },
{ id: "place-sstat", name: "South Station" },
{ id: "place-FS-0049", name: "Foxboro" },
{ id: "place-rr-foxboro-center", name: "Foxboro Center" },
{ id: "place-NEC-2040", name: "Mansfield" },
{ id: "place-DB-2205", name: "Fairmount" },
{ id: "place-DB-2222", name: "Blue Hill Avenue" },
{ id: "place-DB-2230", name: "Morton Street" },
Expand Down Expand Up @@ -423,6 +425,7 @@ const alwaysInfillStations = new Set([
"place-rockland-n-abington",
"place-kingston-jct",
"place-plymouth-center",
"place-rr-foxboro-center",
]);

const infillStationsByRoute = {
Expand Down
Loading