From 8764df071bb6fb21999c5311f499f984cb283d3a Mon Sep 17 00:00:00 2001 From: caz002 Date: Sat, 11 Oct 2025 12:10:10 -0700 Subject: [PATCH 1/2] removed language and tools categories from project filters on homepage --- assets/js/current-projects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/current-projects.js b/assets/js/current-projects.js index aaccebf6ec..d85b382afa 100644 --- a/assets/js/current-projects.js +++ b/assets/js/current-projects.js @@ -43,7 +43,7 @@ document.addEventListener("DOMContentLoaded",function(){ // for issue #4648, needed to add languages inside the technologies filter-item group, might be able to optimize for future iterations // This ensures that the /projects-check page does not change - if ((filterName === 'languages' || filterName === 'tools') && window.location.pathname === '/projects/') { + if ((filterName === 'languages' || filterName === 'tools') && window.location.pathname === '/projects/' || window.location.pathname === "/") { // remove the view all button document.querySelector(`#technologies`).lastElementChild.remove() // insert data inside at the end of the category From c971bd811b09ae4c20ba97e886c04f4bbc414762 Mon Sep 17 00:00:00 2001 From: caz002 Date: Sat, 11 Oct 2025 12:20:46 -0700 Subject: [PATCH 2/2] fixed typo --- assets/js/current-projects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/current-projects.js b/assets/js/current-projects.js index d85b382afa..90ff896271 100644 --- a/assets/js/current-projects.js +++ b/assets/js/current-projects.js @@ -43,7 +43,7 @@ document.addEventListener("DOMContentLoaded",function(){ // for issue #4648, needed to add languages inside the technologies filter-item group, might be able to optimize for future iterations // This ensures that the /projects-check page does not change - if ((filterName === 'languages' || filterName === 'tools') && window.location.pathname === '/projects/' || window.location.pathname === "/") { + if ((filterName === 'languages' || filterName === 'tools') && (window.location.pathname === '/projects/' || window.location.pathname === "/")) { // remove the view all button document.querySelector(`#technologies`).lastElementChild.remove() // insert data inside at the end of the category