Create tag on ui (#13467)

Support create single tag directly

support create tag with message from create release ui

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
authored and GitHub committed 2021-02-28 19:57:45 +00:00
1 parent 3e652860bb
commit 83cf1a894e
13 files changed
+149 -29

No files matched your search

+2 -1
View File
@@ -3310,6 +3310,7 @@ function initFilterBranchTagDropdown(selector) {
noResults: '',
canCreateBranch: false,
menuVisible: false,
createTag: false,
active: 0
};
$data.find('.item').each(function () {
@@ -3341,7 +3342,7 @@ function initFilterBranchTagDropdown(selector) {
return this.filteredItems.length === 0 && !this.showCreateNewBranch;
},
showCreateNewBranch() {
if (!this.canCreateBranch || !this.searchTerm || this.mode === 'tags') {
if (!this.canCreateBranch || !this.searchTerm) {
return false;
}