[frontend/component] Don't try to search if input is null, empty or whitespace
This commit is contained in:
parent
2f05757c57
commit
9ab09fb6a1
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@
|
|||
{
|
||||
NoteSearchInstance = null;
|
||||
_resultType = ResultType.None;
|
||||
if (String.IsNullOrWhiteSpace(SearchString)) return;
|
||||
StateHasChanged();
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue