mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4643)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell * [ADF-4405] Fix unit tests * [ADF-4405] Fix e2e test
This commit is contained in:
@@ -49,9 +49,11 @@ export class ClipboardDirective {
|
||||
|
||||
@HostListener('mouseenter')
|
||||
showTooltip() {
|
||||
const componentFactory = this.resolver.resolveComponentFactory(ClipboardComponent);
|
||||
const componentRef = this.viewContainerRef.createComponent(componentFactory).instance;
|
||||
componentRef.placeholder = this.placeholder;
|
||||
if (this.placeholder) {
|
||||
const componentFactory = this.resolver.resolveComponentFactory(ClipboardComponent);
|
||||
const componentRef = this.viewContainerRef.createComponent(componentFactory).instance;
|
||||
componentRef.placeholder = this.placeholder;
|
||||
}
|
||||
}
|
||||
|
||||
@HostListener('mouseleave')
|
||||
|
Reference in New Issue
Block a user