Fix bug of branch/tag selector in the issue sidebar (#32744)

Fix: #32731

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
hiifong 2024-12-13 08:45:06 +08:00 committed by GitHub
parent 0b8a8941a0
commit 30008fcfcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 26 additions and 7 deletions

View file

@ -4,6 +4,7 @@ import {queryElems, toggleElem} from '../utils/dom.ts';
import {initIssueSidebarComboList} from './repo-issue-sidebar-combolist.ts';
function initBranchSelector() {
// TODO: RemoveIssueRef: see "repo/issue/branch_selector_field.tmpl"
const elSelectBranch = document.querySelector('.ui.dropdown.select-branch');
if (!elSelectBranch) return;