Skip to content
Permalink
Browse files

filter non booster sets

  • Loading branch information...
Manuel-777 committed Oct 13, 2019
1 parent cec0a2f commit 8e723820c4cf77dd6301d86a9371e81617960081
Showing with 6 additions and 1 deletion.
  1. +6 −1 window_main/collection.js
@@ -738,8 +738,13 @@ function printStats() {
let rs = renderSetStats(stats.complete, "PW", "Complete collection");
mainstats.appendChild(rs);

// Filter out non booster sets ?
let sets =
displayMode == BOOSTER_CARDS
? sets.filter(set => db.sets[set].collation > 0)
: orderedSets;
// each set stats
orderedSets
sets
.slice()
.reverse()
.forEach(set => {

0 comments on commit 8e72382

Please sign in to comment.
You can’t perform that action at this time.