mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix(console): fix clipboard hostlistener (#534)
This commit is contained in:
parent
461b7b23b1
commit
da0df27679
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user