Skip to content

Commit

Permalink
fix: evaluate some tags and themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bedon committed Sep 4, 2024
1 parent 3799cd4 commit 80f3b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Thanks/BadgesCustomization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ export default {
let matches = true;
if (badge.category.themes) {
matches = matches && badge.category.themes.every(theme => loan.themes.includes(theme));
matches = matches && badge.category.themes.some(theme => loan.themes.includes(theme));
}
if (badge.category.tags) {
matches = matches && badge.category.tags.every(tag => loan.tags.includes(tag));
matches = matches && badge.category.tags.some(tag => loan.tags.includes(tag));
}
if (badge.category.gender) {
Expand Down

0 comments on commit 80f3b3b

Please sign in to comment.