mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	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:
		@@ -149,6 +149,7 @@ export function initRepoIssueSidebarList() {
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  });
 | 
			
		||||
  $('.ui.dropdown.label-filter').dropdown('setting', {'hideDividers': 'empty'}).dropdown('refreshItems');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function initRepoIssueCommentDelete() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user