Fix merge request count for role based rendering
What does this MR do and why?
Fixes the count for merge requests in the nav bar when the user has the merge request dashboard to render as role based.
References
Screenshots or screen recordings
How to set up and validate locally
- Open https://gdk.test:3000/dashboard/merge_requests
- Click the preference dropdown in the top right of the page
- Change to
Rolerendering - Notice the count
- Change back to
Workflowand the count should be different if there is any merge requests inWaiting for approvals
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Phil Hughes