feat(search): only apply search if at least 2 characters entered

This commit is contained in:
2024-12-02 22:25:10 +01:00
parent 2772abcd2f
commit 0266cf8e80

View File

@@ -17,7 +17,7 @@ class SearchState {
} }
filterTracks() { filterTracks() {
if (this.input.length < 1 || !this.#fuse) { if (this.input.length < 2 || !this.#fuse) {
return; return;
} }