From 7a8f06c8de5b9d1fc86716115a23f1ac4fd099c4 Mon Sep 17 00:00:00 2001 From: voommen-livefront Date: Mon, 14 Jul 2025 08:25:16 -0500 Subject: [PATCH] PM-23264 Removed commented lines --- apps/web/src/app/core/event.service.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/web/src/app/core/event.service.ts b/apps/web/src/app/core/event.service.ts index ed10329f96e..65196efd04d 100644 --- a/apps/web/src/app/core/event.service.ts +++ b/apps/web/src/app/core/event.service.ts @@ -18,7 +18,6 @@ import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view"; @Injectable() export class EventService { private policies: Policy[]; - private organizationCiphers: CipherView[] = []; private ciphers: CipherView[] = []; constructor( @@ -55,14 +54,11 @@ export class EventService { } async loadAllOrganizationCiphers(organizationId: OrganizationId, userId: UserId) { - // this.organizationCiphers = - // await this.cipherService.getAllFromApiForOrganization(organizationId); this.ciphers = await this.cipherService.getAllDecrypted(userId); } async getEventInfo(ev: EventResponse, options = new EventOptions()): Promise { const appInfo = this.getAppInfo(ev); - // const cv = this.organizationCiphers.find((c) => c.id === ev.cipherId); const cv = this.ciphers.find((c) => c.id === ev.cipherId); options.cipher = cv; options.useCipherName = !!cv;