mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +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 = '';
|
@Input() valueToCopy: string = '';
|
||||||
@Output() copiedValue: EventEmitter<string> = new EventEmitter();
|
@Output() copiedValue: EventEmitter<string> = new EventEmitter();
|
||||||
|
|
||||||
@HostListener('document:click', ['$event.target']) onMouseEnter(): void {
|
@HostListener('click', ['$event.target']) onMouseEnter(): void {
|
||||||
this.copytoclipboard(this.valueToCopy);
|
this.copytoclipboard(this.valueToCopy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user