mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 06:23:03 +00:00
Fixed text (without HTML tags) not being passed to child components
This commit is contained in:
@@ -91,7 +91,7 @@ export abstract class ThemedComponent<T> implements OnInit, OnDestroy, OnChanges
|
|||||||
).subscribe((constructor: GenericConstructor<T>) => {
|
).subscribe((constructor: GenericConstructor<T>) => {
|
||||||
const factory = this.resolver.resolveComponentFactory(constructor);
|
const factory = this.resolver.resolveComponentFactory(constructor);
|
||||||
|
|
||||||
this.compRef = this.vcr.createComponent(factory, undefined, undefined, [this.themedElementContent.nativeElement.children]);
|
this.compRef = this.vcr.createComponent(factory, undefined, undefined, [this.themedElementContent.nativeElement.childNodes]);
|
||||||
this.connectInputsAndOutputs();
|
this.connectInputsAndOutputs();
|
||||||
this.cdr.markForCheck();
|
this.cdr.markForCheck();
|
||||||
this.themedElementContent.nativeElement.remove();
|
this.themedElementContent.nativeElement.remove();
|
||||||
|
Reference in New Issue
Block a user