diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 887c644822..8191689b63 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -87,6 +87,7 @@ - [JPUC1143](https://github.com/Jpuc1143) - [David Angel](https://github.com/davidangel) - [Pithaya](https://github.com/Pithaya) +- [Peter Santos](https://github.com/prsantos-com) ## Emby Contributors diff --git a/src/components/filtermenu/filtermenu.js b/src/components/filtermenu/filtermenu.js index 1423e5ac54..7d3e785d19 100644 --- a/src/components/filtermenu/filtermenu.js +++ b/src/components/filtermenu/filtermenu.js @@ -57,7 +57,7 @@ function renderDynamicFilters(context, result, options) { function setBasicFilter(context, key, elem) { let value = elem.checked; - value = value ? value : null; + value = value || null; userSettings.setFilter(key, value); } function moveCheckboxFocus(elem, offset) {