fix: remove log messages

dev
gravel 5 months ago
parent 002b5f5493
commit 5f199c1412
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -780,10 +780,8 @@ async function useSearchTerm(rawTerm, fillSearchBarWithTerm = false) {
}
return false;
}
console.time("search");
const newRowMatches = communityFullRowCache.map(async (rowCache) => ({ rowCache, doesMatch: await rowMatches(rowCache) }));
const newRows = (await Promise.all(newRowMatches)).filter((row) => row.doesMatch).map(({rowCache}) => rowCache.row);
console.timeEnd("search");
if (newRows.length === 0) {
searchBar.classList.add(CLASSES.SEARCH.NO_RESULTS);
} else {

Loading…
Cancel
Save