diff --git a/src/Controls/Isochrones/index.js b/src/Controls/Isochrones/index.js index f220b2b..0aae6d8 100644 --- a/src/Controls/Isochrones/index.js +++ b/src/Controls/Isochrones/index.js @@ -13,6 +13,7 @@ import { updateProfile, doShowSettings, updatePermalink, + resetSettings, } from 'actions/commonActions' import { clearIsos, makeIsochronesRequest } from 'actions/isochronesActions' @@ -26,6 +27,7 @@ class IsochronesControl extends React.Component { handleUpdateProfile = (event, data) => { const { dispatch } = this.props dispatch(updateProfile({ profile: data.valhalla_profile })) + dispatch(resetSettings()) dispatch(updatePermalink()) }