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:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user