mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
avoiding search when search string is empty
This commit is contained in:
@@ -364,6 +364,9 @@ export default {
|
||||
}
|
||||
|
||||
if (this.abortController) this.abortController.abort();
|
||||
|
||||
if (!this.searchsettings.searchstr?.length) return;
|
||||
|
||||
this.abortController = new AbortController();
|
||||
|
||||
this.searchfunction(this.searchsettings, {
|
||||
|
||||
Reference in New Issue
Block a user