[go: up one dir, main page]

Display "Create new merge request" in Upload file modal irregardless of branch

The logic of when to display this checkbox in the "Upload file" modal is based on if the branches match > file

showCreateNewMrToggle() {
   return this.canPushCode && this.target !== this.originalBranch;
},

In the "New directory" modal, the "Create new merge request" is always displayed.

new-dir-in-production

Should we consider changing the "Upload file" modal to also do the same?