From e6f00559a90da47ced09ece6138838c831e46caf Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Mon, 24 Mar 2025 15:32:35 -0700 Subject: [PATCH] feat: show filtered count when filter is applied --- music/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/music/index.html b/music/index.html index a1089e7..b3c7e79 100644 --- a/music/index.html +++ b/music/index.html @@ -39,6 +39,7 @@ if(title) { result = result.filter(song => song.title.toLowerCase().includes(title.toLowerCase())); } + document.getElementById('count').innerText = `Filtered to ${result.length} songs from ${songList.length}.`; updateTable(result); } const loadSongs = (songs) => {