From 528d8b8dab8798881c255d74cba51e775f19b044 Mon Sep 17 00:00:00 2001 From: voommen-livefront Date: Wed, 5 Nov 2025 15:16:37 -0600 Subject: [PATCH] PM-27739 fixed type error where ciphers could be null --- .../all-applications/all-applications.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitwarden_license/bit-web/src/app/dirt/access-intelligence/all-applications/all-applications.component.ts b/bitwarden_license/bit-web/src/app/dirt/access-intelligence/all-applications/all-applications.component.ts index 7d9c7704d67..0e4a97e3617 100644 --- a/bitwarden_license/bit-web/src/app/dirt/access-intelligence/all-applications/all-applications.component.ts +++ b/bitwarden_license/bit-web/src/app/dirt/access-intelligence/all-applications/all-applications.component.ts @@ -84,11 +84,11 @@ export class AllApplicationsComponent implements OnInit { } // Map ciphers to each application - const cipherMap = new Map(ciphers.map((c) => [c.id, c])); + const cipherMap = new Map(ciphers?.map((c) => [c.id, c])); const reportWithCiphers = report.reportData.map((app) => ({ ...app, ciphers: app.cipherIds - .map((id) => cipherMap.get(id)) + .map((id) => cipherMap?.get(id)) .filter((c): c is CipherView => c !== undefined), }));