We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8862cc commit 0b002e8Copy full SHA for 0b002e8
src/utils/challenge/filter.js
@@ -145,7 +145,7 @@ function filterByStatus(challenge, state) {
145
}
146
147
function filterByTags(challenge, state) {
148
- if (!state.tags) return true;
+ if (_.isEmpty(state.tags)) return true;
149
const { platforms, tags } = challenge;
150
const str = `${platforms} ${tags}`.toLowerCase();
151
return state.tags.some(tag => str.includes(tag.toLowerCase()));
0 commit comments