mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-02 15:09:33 -05:00
sirt
This commit is contained in:
parent
041b352f5c
commit
4e89634bd8
@ -9,6 +9,7 @@ import (
|
|||||||
"maps"
|
"maps"
|
||||||
"net/http"
|
"net/http"
|
||||||
"slices"
|
"slices"
|
||||||
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -476,6 +477,7 @@ func renderExclusiveLabelScopes(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
scopes := slices.Collect(maps.Keys(scopeSet))
|
scopes := slices.Collect(maps.Keys(scopeSet))
|
||||||
|
sort.Strings(scopes)
|
||||||
ctx.Data["ExclusiveLabelScopes"] = scopes
|
ctx.Data["ExclusiveLabelScopes"] = scopes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user