From 0cef33b516803b446c2924377ad5e2a2bc786ab6 Mon Sep 17 00:00:00 2001 From: miles-grant-ibigroup Date: Fri, 6 Sep 2024 13:34:28 -0400 Subject: [PATCH] update confirmation string --- lib/actions/field-trip.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/actions/field-trip.js b/lib/actions/field-trip.js index c9f085e52..316978475 100644 --- a/lib/actions/field-trip.js +++ b/lib/actions/field-trip.js @@ -535,7 +535,10 @@ function prepareQueryParams(request, outbound) { } const hasExistingLocations = currentQuery.from || currentQuery.to const locations = - !hasExistingLocations || window.confirm('Overwrite existing locations?') + !hasExistingLocations || + window.confirm( + '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' + ) ? await planParamsToQueryAsync(locationsToGeocode, config) : { from: currentQuery.from, to: currentQuery.to } return dispatch(setQueryParam({ ...locations, ...queryParams }))