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