Clicking "Cancel" in the "Resolve this thread in a new issue" form navigates back to the issue search page instead of the merge request page
Summary
See title
Steps to reproduce
- Open a merge request
- Open a new discussion thread in the merge request
- In the discussion thread, click the "Resolve this thread in a new issue" button
- Click "Cancel"
What is the current bug behavior?
The "Cancel" button redirects to the issue search page (i.e. https://example.gitlab.com/user/project/issues).
What is the expected correct behavior?
The "Cancel" button should redirect back to the previous page - the merge request page (i.e. https://example.gitlab.com/user/project/merge_requests/id).
Output of checks
This bug happens on GitLab.com.