File tree 4 files changed +16
-6
lines changed
itinerary-body/src/__mocks__/itineraries
4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -241739,7 +241739,6 @@ exports[`Storyshots TripDetails Fare Leg Table Story Leg Products 1`] = `
241739
241739
"routeColor": "0070c0",
241740
241740
"routeId": "CommTrans:101",
241741
241741
"routeLongName": "Mariner P&R - Aurora Village",
241742
- "routeShortName": "101",
241743
241742
"routeTextColor": "ffffff",
241744
241743
"routeType": 3,
241745
241744
"serviceDate": "2023-01-23",
@@ -242313,7 +242312,7 @@ exports[`Storyshots TripDetails Fare Leg Table Story Leg Products 2`] = `
242313
242312
<td
242314
242313
className="no-zebra"
242315
242314
>
242316
- 101
242315
+ Mariner P&R - Aurora Village
242317
242316
</td>
242318
242317
<td>
242319
242318
$2.50
@@ -242391,7 +242390,7 @@ exports[`Storyshots TripDetails Fare Leg Table Story Leg Products 2`] = `
242391
242390
<td
242392
242391
className="no-zebra"
242393
242392
>
242394
- 101
242393
+ Mariner P&R - Aurora Village
242395
242394
</td>
242396
242395
<td>
242397
242396
$0.00
@@ -242446,7 +242445,7 @@ exports[`Storyshots TripDetails Fare Leg Table Story Leg Products 2`] = `
242446
242445
<td
242447
242446
className="no-zebra"
242448
242447
>
242449
- 101
242448
+ Mariner P&R - Aurora Village
242450
242449
</td>
242451
242450
<td>
242452
242451
$1.25
Original file line number Diff line number Diff line change 728
728
"length" : 368
729
729
},
730
730
"steps" : [],
731
- "routeShortName" : " 101" ,
732
731
"routeLongName" : " Mariner P&R - Aurora Village" ,
733
732
"duration" : 1560
734
733
},
Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ const FareTypeTable = ({
113
113
</ TableHeader >
114
114
{ legs . map ( ( leg , index ) => (
115
115
< tr key = { index } >
116
- < td className = "no-zebra" > { leg . routeShortName } </ td >
116
+ < td className = "no-zebra" >
117
+ { leg . routeShortName || leg . route || leg . routeLongName }
118
+ </ td >
117
119
{ colsToRender . map ( col => {
118
120
const fare = hasLegProducts
119
121
? getLegCost ( leg , col . riderCategory , col . fareContainer )
Original file line number Diff line number Diff line change 2845
2845
resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-1.0.3.tgz#db9cc719191a62e7d9200f6e7bab21c5b848adca"
2846
2846
integrity sha512-Aq58f5HiWdyDlFffbbSjAlv596h/cOnt2DO1w3DOC7OJ5EHs0hd/nycJfiu9RJbT6Yk6F1knnRRXNSpxoIVZ9Q==
2847
2847
2848
+ "@opentripplanner/
[email protected] ":
2849
+ version "1.3.4"
2850
+ resolved "https://registry.yarnpkg.com/@opentripplanner/geocoder/-/geocoder-1.3.4.tgz#94f1b4085ab3005ef6c8960ab5f75387db29a123"
2851
+ integrity sha512-Dqzkt5wRjTbgzUg79H5ZSHHI/OG58+jeQJaPUMkBzyx759hUiHKuj5X7VwDtF3LI9mfR7SUyxOtu4QQtNvyGmQ==
2852
+ dependencies:
2853
+ "@conveyal/geocoder-arcgis-geojson" "^0.0.3"
2854
+ "@conveyal/lonlat" "^1.4.1"
2855
+ isomorphic-mapzen-search "^1.6.1"
2856
+ lodash.memoize "^4.1.2"
2857
+
2848
2858
"@pmmmwh/react-refresh-webpack-plugin@^0.5.1":
2849
2859
version "0.5.4"
2850
2860
resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.4.tgz#df0d0d855fc527db48aac93c218a0bf4ada41f99"
You can’t perform that action at this time.
0 commit comments