mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
log viewed event when viewing a cipher on desktop (#15234)
This commit is contained in:
@@ -364,7 +364,14 @@ export class VaultV2Component implements OnInit, OnDestroy {
|
||||
cipher.collectionIds.includes(c.id),
|
||||
) ?? null;
|
||||
this.action = "view";
|
||||
|
||||
await this.go().catch(() => {});
|
||||
await this.eventCollectionService.collect(
|
||||
EventType.Cipher_ClientViewed,
|
||||
cipher.id,
|
||||
false,
|
||||
cipher.organizationId,
|
||||
);
|
||||
}
|
||||
|
||||
async openAttachmentsDialog() {
|
||||
|
||||
Reference in New Issue
Block a user