Remove source branch option "forgotten" after any edits to MR (re-assigning, changing labels, etc)
Summary
Remove source branch option "forgotten" after any edits to MR (re-assigning, changing labels, etc). Given the option is not edited, it shouldn't be reset.
Steps to reproduce
-
Create MR, check
Remove source branch when merge request is accepted.
(MR will show correct option)
-
From the MR view, change anything on the right side pane (assign the MR to another user, change labels, etc)
-
Reload MR page. Now the option to
Remove source branch
will be unchecked
Expected behavior
The Remove source branch
should not be reset on an MR update, unless the option is explicitly changed by the user.