mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
fix(console): fix clipboard hostlistener (#534)
This commit is contained in:
@@ -7,7 +7,7 @@ export class CopyToClipboardDirective {
|
||||
@Input() valueToCopy: string = '';
|
||||
@Output() copiedValue: EventEmitter<string> = new EventEmitter();
|
||||
|
||||
@HostListener('document:click', ['$event.target']) onMouseEnter(): void {
|
||||
@HostListener('click', ['$event.target']) onMouseEnter(): void {
|
||||
this.copytoclipboard(this.valueToCopy);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user