-
Notifications
You must be signed in to change notification settings - Fork 716
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
fixes the route #12441
fixes the route #12441
Conversation
Build Artifacts
|
18ddb74
to
58d0f98
Compare
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.
One change in beforeRouteLeave that we made is missing and one more comment about something we should try to avoid committing unnecessary code.
if (nextRoute.name === PageNames.EXAM_CREATION_ROOT) { | ||
this.$router.push(nextRoute); | ||
} else { | ||
this.$router.replace(nextRoute); | ||
} |
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.
@AllanOXDi I think we should remove this and test as I don't think it really helps us.
862badc
to
9fb2414
Compare
2811337
to
27019b5
Compare
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.
Changes look great thank you @AllanOXDi - tested locally and all worked well. I'll merge this shortly
2fa688c
into
learningequality:release-v0.17.x
Summary
fixes the missing confirmation modal when the browser back button is clicked
Screen.Recording.2024-07-13.at.01.05.27.mov
References
#12421
Reviewer guidance
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)