Hide MR Callout when MRs disabled for project
What does this MR do and why?
The Callout for Merge Request Settings having moved was shown on projects which had Merge Requests disabled. Clicking the link from the callout leads to a 404 then. Hiding the callout for these projects looks correct.
Screenshots or screen recordings
MRs enabled | MRs disabled |
---|---|
![]() |
![]() |
How to set up and validate locally
- Visit a project settings page
- Disable Merge Requests
- See that the callout is not visible anymore
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.