mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +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>) => {
|
||||
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.cdr.markForCheck();
|
||||
this.themedElementContent.nativeElement.remove();
|
||||
|
Reference in New Issue
Block a user