Skip to content

Fix deleting protected branch

Nataliia Radina requested to merge 366301-prevent-deleting-branch into master

What does this MR do and why?

Prevents from deleting protected branch when submit button is disbaled.

Screenshots or screen recordings


How to set up and validate locally

  1. Go to Repository > Branches within a project
  2. Click on delete icon for protected branch
  3. Try hitting enter when delete button in confirm modal is disabled

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #366301 (closed)

Merge request reports