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

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "1.5.2",
"version": "1.5.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "1.5.2",
"version": "1.5.3",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.5.0",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "1.5.2",
"version": "1.5.3",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

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