Skip to content

Commit 0b79509

Browse files
committed
start searching with only 2 chars
1 parent 822212c commit 0b79509

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/components/public/search/Search.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
async function search(text: string) {
114114
const currentRequestId = ++searchRequestId;
115115
116-
if (text.length < 2 && !hasActiveFilters) {
116+
if (text.length < 1 && !hasActiveFilters) {
117117
results = [];
118118
selectedIndex = -1;
119119
isSearching = false;

0 commit comments

Comments
 (0)