Fix merge requests in archived projects showing on MR dashboard
What does this MR do and why?
Fixes a bug where merge requests that are in archived projects will be returned by the GraphQL and then shown on the new merge request dashboard.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Enable
merge_request_dashboard
feature flag - Create a new project
- Create a merge request in this project
- Assign this merge request to your user
- Archive the project
- Visit
http://gdk.test:3000/dashboard/merge_requests
- This merge request should not be visible