Skip to content

Commit

Permalink
Merge pull request #50 from SimonDmz/fix/queen-uri-without-questionna…
Browse files Browse the repository at this point in the history
…ireId

remove questionnaire/{questionnaireId} in queen uri
  • Loading branch information
laurentC35 authored Apr 13, 2021
2 parents 2275e47 + aeb0668 commit 7b87157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pearl",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.9",
Expand Down
2 changes: 1 addition & 1 deletion src/components/panel-body/UEpage/navigation/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Navigation = ({ match, refs }) => {
const { detailsRef, identificationRef, lettersRef, contactsRef, commentsRef } = refs;

const openQueen = () => {
history.push(`/queen/questionnaire/${surveyUnit.campaign}/survey-unit/${id}`);
history.push(`/queen/survey-unit/${id}`);
};

const scrollTo = ref => {
Expand Down

0 comments on commit 7b87157

Please sign in to comment.