Fix for public servers

This commit is contained in:
Zack Rauen 2019-08-26 01:31:47 -04:00
parent 9d8d48bb8c
commit 436a12cde8
2 changed files with 3 additions and 3 deletions

View File

@ -4835,7 +4835,7 @@ class V2C_PublicServers extends BDV2.reactComponent {
invite_code: "0Tmfo5ZbORCRqbAd",
pinned: true
};
let guildList = this.SortedGuildStore.guildPositions;
let guildList = this.SortedGuildStore.getFlattenedGuildIds();
let defaultList = this.AvatarDefaults.DEFAULT_AVATARS;
return BDV2.react.createElement(V2Components.ServerCard, {server: server, pinned: true, join: this.join, guildList: guildList, fallback: defaultList[Math.floor(Math.random() * 5)]});
}
@ -4998,7 +4998,7 @@ class V2C_PublicServers extends BDV2.reactComponent {
get content() {
let self = this;
let guildList = this.SortedGuildStore.guildPositions;
let guildList = this.SortedGuildStore.getFlattenedGuildIds();
let defaultList = this.AvatarDefaults.DEFAULT_AVATARS;
if (self.state.connection.state === 1) return self.notConnected;
return [BDV2.react.createElement(

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long