chore: only query on search

This commit is contained in:
Cory Dransfeldt 2024-10-19 14:09:53 -07:00
parent 0ac1a28c42
commit 5c172e0694
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View file

@ -194,8 +194,6 @@ window.addEventListener('load', () => {
}
}
loadSearchIndex().then(loadedResultsById => resultsById = loadedResultsById)
const getSelectedTypes = () =>
Array.from($typeCheckboxes)
.filter(checkbox => checkbox.checked)