Skip to content

Commit

Permalink
on bot connect to map, don't add 0 party searches to .partyList
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Aug 10, 2024
1 parent 773e822 commit b7781c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GuildWarsPartySearch.FrontEnd/Content/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,9 @@ async function buildPartyList() {
let container = document.querySelector(".partyList");
container.innerHTML = "";
for (const mapId in aggregatedPartySearches) {
if (aggregatedPartySearches[mapId.toString()].length === 0) {
continue;
}
const activity = data.find(a => a.mapId.toString() === mapId.toString());
if (!activity) {
continue;
Expand Down

0 comments on commit b7781c3

Please sign in to comment.