1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

PM-23264 Removed commented lines

This commit is contained in:
voommen-livefront
2025-07-14 08:25:16 -05:00
parent 1e4b480b06
commit 7a8f06c8de

View File

@@ -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<EventInfo> {
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;