Skip to content

Commit

Permalink
remove questionnaire/{questionnaireId} in queen uri
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDmz committed Apr 6, 2021
1 parent 2275e47 commit aeb0668
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 aeb0668

Please sign in to comment.