Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Nov 29, 2023
1 parent 8071517 commit 95a7f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/pile-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function getItemPileTokens(filter = false) {
const validTokensOnScenes = allTokensOnScenes.map(([scene, tokens]) => [
scene,
tokens.filter((token) => {
return filter ? !filter(token) : true;
return filter ? filter(token) : true;
})
]).filter(([_, tokens]) => tokens.length);

Expand Down

0 comments on commit 95a7f7e

Please sign in to comment.