1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 12:40:26 +00:00

remove remaining checks for null folder id

This commit is contained in:
jaasen-livefront
2025-11-24 17:40:04 -08:00
parent 9122a8fd40
commit 90fce663a0
7 changed files with 10 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ export class VaultFilterService implements DeprecatedVaultFilterServiceAbstracti
const ciphers = await this.cipherService.getAllDecrypted(userId);
const orgCiphers = ciphers.filter((c) => c.organizationId == organizationId);
folders = storedFolders.filter(
(f) => orgCiphers.some((oc) => oc.folderId == f.id) || f.id == null,
(f) => orgCiphers.some((oc) => oc.folderId == f.id) || !f.id,
);
}