File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
frontend/src/components/team Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ const model = computed(() => {
18
18
return store .matchState .teamState ! [props .team ].name
19
19
})
20
20
const options = computed (() => {
21
- return gcStore .config .teams || []
21
+ const teams = [... gcStore .config .teams ! ]
22
+ teams .sort (function (a , b ) {
23
+ return a .toLowerCase ().localeCompare (b .toLowerCase ());
24
+ })
25
+ return teams
22
26
})
23
27
24
28
const updateValue = (value : string ) => {
Original file line number Diff line number Diff line change 8
8
"log"
9
9
"os"
10
10
"path/filepath"
11
- "sort"
12
11
)
13
12
14
13
var defaultTeams = []string {
@@ -113,7 +112,6 @@ func (x *Config) ReadFrom(fileName string) (err error) {
113
112
for t := range uniqueTeams {
114
113
x .Teams = append (x .Teams , t )
115
114
}
116
- sort .Strings (x .Teams )
117
115
118
116
if x .AutoContinue == nil {
119
117
x .AutoContinue = defConfig .AutoContinue
You can’t perform that action at this time.
0 commit comments