Skip to content

Commit

Permalink
Correct age filter to include frontiers
Browse files Browse the repository at this point in the history
  • Loading branch information
f3rn4nd0-c354r committed Oct 3, 2023
1 parent 701e29f commit 326f8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h3>Se conhece algum concurso que não aparece na lista, indique-nos <a href="ht
let minAge = parseInt(usuario.id_min) || 0;
let maxAge = parseInt(usuario.id_max) || 150;
let writerAge = parseInt(this.ageFilter);
return writerAge > minAge && writerAge < maxAge;
return writerAge >= minAge && writerAge <= maxAge;
})

.filter(usuario => {
Expand Down

0 comments on commit 326f8f8

Please sign in to comment.