Skip to content
Snippets Groups Projects

Resolve "Customize branch name when using create branch in an issue"

2 files
+ 8
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -182,6 +182,13 @@ export default class CreateMergeRequestDropdown {
}
onChangeNewBranchNameInput() {
// If the imput is empty, use the original branch name generated by the backend.
if (!this.newBranchNameInput.value) {
this.createBranchPath = this.wrapperEl.dataset.createBranchPath;
this.createMrPath = this.wrapperEl.dataset.createMrPath;
return;
}
this.showCheckBranchExistsMessage();
clearTimeout(this.delay);
Loading