forked from forgejo/forgejo
Backport #25312 by @wxiaoguang We only needs 2 lines to hide the dividers. ``` $dropdownLabelFilter.dropdown('setting', {'hideDividers': 'empty'}); $dropdownLabelFilter.dropdown('refreshItems'); ``` Other code blocks are refactored by the way.   Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
e6e1cfd8e4
commit
e9105ac281
3 changed files with 3 additions and 2 deletions
|
@ -149,6 +149,7 @@ export function initRepoIssueSidebarList() {
|
|||
}
|
||||
}
|
||||
});
|
||||
$('.ui.dropdown.label-filter').dropdown('setting', {'hideDividers': 'empty'}).dropdown('refreshItems');
|
||||
}
|
||||
|
||||
export function initRepoIssueCommentDelete() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue