Skip to content

Commit e772d8f

Browse files
committed
fix
1 parent b71cb7a commit e772d8f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

templates/repo/issue/list.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@
102102
<input type="text" placeholder="{{.locale.Tr "repo.issues.filter_label"}}">
103103
</div>
104104
<span class="info">{{.locale.Tr "repo.issues.filter_label_exclude" | Safe}}</span>
105+
<div class="ui divider"></div>
105106
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels=0&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_select_no_label"}}</a>
106107
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_label_no_select"}}</a>
107108
{{$previousExclusiveScope := "_no_scope"}}
108109
{{range .Labels}}
109110
{{$exclusiveScope := .ExclusiveScope}}
110-
{{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}}
111+
{{if and (ne $previousExclusiveScope $exclusiveScope)}}
111112
<div class="ui divider"></div>
112113
{{end}}
113114
{{$previousExclusiveScope = $exclusiveScope}}

web_src/css/repo.css

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
.repository .filter.menu.labels .label-filter .menu .info {
138138
display: inline-block;
139139
padding: 0.5rem 0.25rem;
140-
border-bottom: 1px solid var(--color-secondary);
141140
font-size: 12px;
142141
width: 100%;
143142
white-space: nowrap;

web_src/js/features/repo-issue.js

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export function initRepoIssueSidebarList() {
149149
}
150150
}
151151
});
152+
$('.ui.dropdown.label-filter').dropdown('setting', {'hideDividers': 'empty'}).dropdown('refreshItems');
152153
}
153154

154155
export function initRepoIssueCommentDelete() {

0 commit comments

Comments
 (0)