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(() => {
1818 return store .matchState .teamState ! [props .team ].name
1919})
2020const 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
2226})
2327
2428const updateValue = (value : string ) => {
Original file line number Diff line number Diff line change 88 "log"
99 "os"
1010 "path/filepath"
11- "sort"
1211)
1312
1413var defaultTeams = []string {
@@ -113,7 +112,6 @@ func (x *Config) ReadFrom(fileName string) (err error) {
113112 for t := range uniqueTeams {
114113 x .Teams = append (x .Teams , t )
115114 }
116- sort .Strings (x .Teams )
117115
118116 if x .AutoContinue == nil {
119117 x .AutoContinue = defConfig .AutoContinue
You can’t perform that action at this time.
0 commit comments