-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change backlink to go back to a specific page #47
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this instance I'd suggest not using the Back component and simply having something along the lines of the following in the view:
<a class="govuk-back-link" @click="$router.push('/assessments')">Assessments</a>
Cool 👍 I was on the fence about that one; easy to change! 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Simple change to the backlink component.
I don't know if this is too "hacky'. It's the easiest way to make this change, it may be that we want something nicer (a new component, for example).