generated from nhcarrigan/template
feat: show filtered count when filter is applied
This commit is contained in:
parent
76749ba6b8
commit
e6f00559a9
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user