feat(search): only apply search if at least 2 characters entered
This commit is contained in:
@@ -17,7 +17,7 @@ class SearchState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
filterTracks() {
|
filterTracks() {
|
||||||
if (this.input.length < 1 || !this.#fuse) {
|
if (this.input.length < 2 || !this.#fuse) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user