Fix label list divider (#25312)
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.  
This commit is contained in:
parent
a5d0246fff
commit
bfab129fb9
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