Cancel a potentially pending filter update when an update occurs

This commit is contained in:
Dean Herbert 2019-11-21 13:46:45 +09:00
parent 4d6904468d
commit 2325f0382c
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ private void scheduleUpdateFilter()
private void updateFilter()
{
scheduledFilterUpdate?.Cancel();
filter.Value = new FilterCriteria
{
SearchString = Search.Current.Value ?? string.Empty,