Skip to content

Commit b241380

Browse files
Merge pull request #1271 from opentripplanner/field-trip-repair-sept-24
Field trip Fixes Sept. `24
2 parents a0aa5af + 584b116 commit b241380

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/actions/field-trip.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,10 @@ function prepareQueryParams(request, outbound) {
535535
}
536536
const hasExistingLocations = currentQuery.from || currentQuery.to
537537
const locations =
538-
!hasExistingLocations || window.confirm('Overwrite existing locations?')
538+
!hasExistingLocations ||
539+
window.confirm(
540+
'Use custom set locations? Pressing "Cancel" will use the locations you have typed in. Pressing "OK" will use the locations currently saved to the field trip'
541+
)
539542
? await planParamsToQueryAsync(locationsToGeocode, config)
540543
: { from: currentQuery.from, to: currentQuery.to }
541544
return dispatch(setQueryParam({ ...locations, ...queryParams }))

0 commit comments

Comments
 (0)