diff --git a/dashboard/src/components/dashboard/GuildList.vue b/dashboard/src/components/dashboard/GuildList.vue index 0202c8a8..17e6f8fe 100644 --- a/dashboard/src/components/dashboard/GuildList.vue +++ b/dashboard/src/components/dashboard/GuildList.vue @@ -60,7 +60,17 @@ }, computed: { ...mapState('guilds', { - guilds: 'available', + guilds: state => { + const guilds = Array.from(state.available || []); + guilds.sort((a, b) => { + if (a.name > b.name) return 1; + if (a.name < b.name) return -1; + if (a.id > b.id) return 1; + if (a.id < b.id) return -1; + return 0; + }); + return guilds; + }, }), }, };