Hide delete button for All branches

What does this MR do and why?

Hides the delete button when the target is All branches

References

Screenshots or screen recordings

Before After
Screenshot_2025-05-12_at_02.17.25 Screenshot_2025-05-12_at_02.17.37

How to set up and validate locally

  1. Navigate to Project > Settings > Repository > Branch rules
  2. Click on All branches branch rule
  3. The delete button should not display

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.

Related to #519136 (closed)

Merge request reports

Loading