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 accf3b3 commit da225ebCopy full SHA for da225eb
options/options.js
@@ -30,8 +30,8 @@ document.addEventListener('DOMContentLoaded', () => {
30
filtered = filtered.filter(p => Array.isArray(p.tags) && p.tags.includes(filterTag));
31
}
32
33
- if (filterDifficulty && filterDifficulty == 'all') {
34
- filtered = filtered.filter(p => difficulty === filterDifficulty);
+ if (filterDifficulty && filterDifficulty !== 'all') {
+ filtered = filtered.filter(p => p.difficulty === filterDifficulty);
35
36
37
if (searchTerm) {
0 commit comments