Skip to content

Hide remove source branch button for fork MRs

We show a disabled "Remove source branch" checkbox on the MR widget for the fork MRs. It's little bit confusing and there is no explanation why it's disabled. We need to remove it if user don't have the permission to remove the source branch.

Related with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11558

Edited by Fatih Acet