Skip to content

Commit

Permalink
One more server sort fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Apr 5, 2022
1 parent 7d322e5 commit 76e7273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NewMatchForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export default {
this.servers = await this.GetAllAvailableServers();
if (typeof this.servers != "string") {
this.servers.sort((a, b) => {
return a.user_id - this.user.id || a.public_server - b.public_server;
return a.user_id - this.user.id || b.public_server - a.public_server;
});
}
if (this.IsAnyAdmin(this.user)) this.teams = await this.GetAllTeams();
Expand Down

0 comments on commit 76e7273

Please sign in to comment.