Exclude deleted items from folder counts (#1555)

This commit is contained in:
Jake Fink 2021-10-04 08:33:23 -04:00 committed by GitHub
parent a9a4fa56c1
commit c0783cd162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -485,6 +485,11 @@ namespace Bit.App.Pages
}
}
if (c.IsDeleted)
{
continue;
}
var fId = c.FolderId ?? "none";
if (_folderCounts.ContainsKey(fId))
{