Revert "[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)" (#4642)

This reverts commit 630b1043a9.
This commit is contained in:
Eugenio Romano
2019-04-23 14:30:08 +01:00
committed by GitHub
parent 0dc28ad987
commit d427e06136
3 changed files with 7 additions and 7 deletions

View File

@@ -49,11 +49,9 @@ export class ClipboardDirective {
@HostListener('mouseenter')
showTooltip() {
if (this.placeholder) {
const componentFactory = this.resolver.resolveComponentFactory(ClipboardComponent);
const componentRef = this.viewContainerRef.createComponent(componentFactory).instance;
componentRef.placeholder = this.placeholder;
}
const componentFactory = this.resolver.resolveComponentFactory(ClipboardComponent);
const componentRef = this.viewContainerRef.createComponent(componentFactory).instance;
componentRef.placeholder = this.placeholder;
}
@HostListener('mouseleave')