Simplify and comment
This commit is contained in:
parent
9a663fda15
commit
1939aae81c
3 changed files with 22 additions and 25 deletions
|
|
@ -322,7 +322,7 @@ namespace LibationAvalonia.ViewModels
|
|||
{
|
||||
var filterResults = SOURCE.FilterEntries(FilterString);
|
||||
|
||||
if (filterResults is not null && (FilteredInGridEntries is null || FilteredInGridEntries.Intersect(filterResults).Count() != FilteredInGridEntries.Count))
|
||||
if (FilteredInGridEntries.SearchSetsDiffer(filterResults))
|
||||
{
|
||||
FilteredInGridEntries = filterResults;
|
||||
await refreshGrid();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue