ResetWithRange once on search

This commit is contained in:
Kyle Spearrin 2019-06-06 09:32:25 -04:00
parent cf9595a0bc
commit a2d00c4057

View file

@ -94,8 +94,6 @@ namespace Bit.App.Pages
{ {
ciphers = await _searchService.SearchCiphersAsync(searchText, Filter, null, cts.Token); ciphers = await _searchService.SearchCiphersAsync(searchText, Filter, null, cts.Token);
cts.Token.ThrowIfCancellationRequested(); cts.Token.ThrowIfCancellationRequested();
Ciphers.ResetWithRange(ciphers);
ShowNoData = Ciphers.Count == 0;
} }
catch(OperationCanceledException) catch(OperationCanceledException)
{ {