mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-05 09:01:11 +01:00
filter Ciphers to exclude deleted items (#1559)
This commit is contained in:
parent
c0783cd162
commit
6109091ec0
@ -81,7 +81,8 @@ namespace Bit.iOS.Core.Views
|
||||
{
|
||||
searchFilter = searchFilter.ToLower();
|
||||
var results = _searchService.SearchCiphersAsync(searchFilter,
|
||||
c => c.Type == Bit.Core.Enums.CipherType.Login, null, ct).GetAwaiter().GetResult();
|
||||
c => c.Type == Bit.Core.Enums.CipherType.Login && !c.IsDeleted, null, ct)
|
||||
.GetAwaiter().GetResult();
|
||||
Items = results.Select(s => new CipherViewModel(s)).ToArray();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user