diff --git a/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js b/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js index 1e5ca13fac..8ee72bf2fe 100644 --- a/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js +++ b/src/frontend/src/components/MapComponent/OpenLayersComponent/LayerSwitcher/index.js @@ -164,7 +164,7 @@ const LayerSwitcherControl = ({ map, visible = 'osm' }) => { if ( location.pathname.includes('project_details') || location.pathname.includes('upload-area') || - location.pathname.includes('select-form') || + location.pathname.includes('select-category') || location.pathname.includes('data-extract') || location.pathname.includes('split-tasks') ) { diff --git a/src/frontend/src/components/createnewproject/DataExtract.tsx b/src/frontend/src/components/createnewproject/DataExtract.tsx index 99d0d96f8e..561c11eb07 100644 --- a/src/frontend/src/components/createnewproject/DataExtract.tsx +++ b/src/frontend/src/components/createnewproject/DataExtract.tsx @@ -141,7 +141,7 @@ const DataExtract = ({ flag, customLineUpload, setCustomLineUpload, customPolygo }, [formValues?.dataExtractWays, formValues?.dataExtractFeatureType]); const toggleStep = (step, url) => { - if (url === '/select-form') { + if (url === '/select-category') { dispatch( CreateProjectActions.SetIndividualProjectDetailsData({ ...formValues, @@ -326,7 +326,7 @@ const DataExtract = ({ flag, customLineUpload, setCustomLineUpload, customPolygo btnText="PREVIOUS" btnType="secondary" type="button" - onClick={() => toggleStep(3, '/select-form')} + onClick={() => toggleStep(3, '/select-category')} className="fmtm-font-bold" />