Skip to content

Commit d6a32f5

Browse files
David BritchDavid Britch
authored andcommitted
Fixed crash when attempting to filter on only one item.
1 parent 366d968 commit d6a32f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private void AddCatalogItem(CatalogItem catalogItem)
102102

103103
private async Task FilterAsync()
104104
{
105-
if (Brand == null && Type == null)
105+
if (Brand == null || Type == null)
106106
{
107107
return;
108108
}

0 commit comments

Comments
 (0)