mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
fixed issue where searchbar was producing an error searching with an empty input
This commit is contained in:
@@ -70,6 +70,8 @@ export default {
|
||||
if (this.abortController) this.abortController.abort();
|
||||
this.abortController = new AbortController();
|
||||
|
||||
if (!this.getSearchStr()?.length) return;
|
||||
|
||||
this.searchfunction(this.searchsettings, {
|
||||
timeout: 50000,
|
||||
signal: this.abortController.signal,
|
||||
|
||||
Reference in New Issue
Block a user