Skip to content

Commit

Permalink
Fix: selecting no bonus filter shows the entire list of gildings
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoschoen committed Dec 3, 2024
1 parent 3dde20a commit d429713
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ function gilding_bonus_filter_selected(bonus){
}
// GILDING FILTERS
function filter_gildings_by_bonus(bonus){
if( bonus == "-1"){
return gilding_affinity_filter
}
let options = []
for (let i = 0; i < gilding_affinity_filter.length; i++) {
const item = gilding_affinity_filter[i];
Expand Down

0 comments on commit d429713

Please sign in to comment.