Skip to content

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
image image

How to set up and validate locally

  1. Visit a project settings page
  2. Disable Merge Requests
  3. 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.

Merge request reports