diff --git a/decideapp/src/App.tsx b/decideapp/src/App.tsx index 940943ca50fdfc1ec0a6783c6457edf85d63e364..eefac73171160fe9ceb4fb97999fa24ee4f50386 100644 --- a/decideapp/src/App.tsx +++ b/decideapp/src/App.tsx @@ -250,7 +250,8 @@ const App: React.FC = () => { radiusMin: 1000, radiusMax: 30000, //surveyLink: 'https://ceh-online-surveys.onlinesurveys.ac.uk/feedback-about-the-decide-tool-updated-version', - surveyLink: 'mailto:decide@ceh.ac.uk?subject=DECIDE tool feedback', + //surveyLink: 'mailto:decide@ceh.ac.uk?subject=DECIDE tool feedback', + surveyLink: '/info/feedback', mapLat: mapLat, setMapLat: setMapLat, mapLon: mapLon, diff --git a/decideapp/src/components/Banner.tsx b/decideapp/src/components/Banner.tsx index e125cfe739bceb6b6930a5b8964ed36e141b1f15..bdc4c55b64155df25d510ee68db5d76b96f660a3 100644 --- a/decideapp/src/components/Banner.tsx +++ b/decideapp/src/components/Banner.tsx @@ -24,7 +24,9 @@ const Banner: FunctionComponent = () => { //onClick={() => window.location.href=`${surveyLink}`}> onClick={() => { logActivity({id: 'feedback_link', identity: 'banner_button'}) - window.open(surveyLink, '_blank') + //window.open(surveyLink, '_blank') + //window.open(surveyLink) + window.location.href=`${surveyLink}` }}> Give feedback </button> diff --git a/decideapp/src/components/StandardMapControls.tsx b/decideapp/src/components/StandardMapControls.tsx index 715f4e1594af8e41522ee79f74f5b93c29dfe631..9d8d83babac95b562fd8a154b49d74f1bcccc944 100644 --- a/decideapp/src/components/StandardMapControls.tsx +++ b/decideapp/src/components/StandardMapControls.tsx @@ -44,7 +44,9 @@ const StandardMapControls: FunctionComponent<StandardMapControlsI> = ({map}) => onClick={() => { logActivity({id: 'feedback_link', identity: 'map_button'}) // window.location.href = `${surveyLink}` - window.open(surveyLink, '_blank') + //window.open(surveyLink, '_blank') + //window.open(surveyLink) + window.location.href=`${surveyLink}` }}> Give feedback </MapButton>