1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

[PM-730] Corrected EventType when copying password (#5229)

* [PM-730] Corrected EventType when copying password

* [PM-730] Corrected copy password and totp events
This commit is contained in:
aj-rosado
2023-04-27 16:46:48 +01:00
committed by GitHub
parent def3b1436d
commit 525de3bfd2
5 changed files with 14 additions and 23 deletions

View File

@@ -336,10 +336,7 @@ export class ViewComponent implements OnDestroy, OnInit {
);
if (typeI18nKey === "password") {
this.eventCollectionService.collect(
EventType.Cipher_ClientToggledHiddenFieldVisible,
this.cipherId
);
this.eventCollectionService.collect(EventType.Cipher_ClientCopiedPassword, this.cipherId);
} else if (typeI18nKey === "securityCode") {
this.eventCollectionService.collect(EventType.Cipher_ClientCopiedCardCode, this.cipherId);
} else if (aType === "H_Field") {