From da225eb8e43595433f33355485f870fcbb02ad41 Mon Sep 17 00:00:00 2001 From: Dominion Gbadamosi Date: Fri, 13 Jun 2025 21:19:18 +0100 Subject: [PATCH 1/2] fix: fixed problem with difficulty filter --- options/options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options/options.js b/options/options.js index 1aa7947..e521cac 100644 --- a/options/options.js +++ b/options/options.js @@ -30,8 +30,8 @@ document.addEventListener('DOMContentLoaded', () => { filtered = filtered.filter(p => Array.isArray(p.tags) && p.tags.includes(filterTag)); } - if (filterDifficulty && filterDifficulty == 'all') { - filtered = filtered.filter(p => difficulty === filterDifficulty); + if (filterDifficulty && filterDifficulty !== 'all') { + filtered = filtered.filter(p => p.difficulty === filterDifficulty); } if (searchTerm) { From d339f47721891e1536d352804adefe4aa8310ca5 Mon Sep 17 00:00:00 2001 From: Dominion Gbadamosi Date: Fri, 13 Jun 2025 21:21:00 +0100 Subject: [PATCH 2/2] updated version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index ceebf87..599bd1a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "KeepCode", - "version": "0.3.6", + "version": "0.3.7", "description": "Prep smarter for coding interviews! KeepCode tracks your LeetCode progress so you can focus on solving.", "permissions": ["storage", "tabs", "activeTab", "https://leetcode.com/*"], "background": {