We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87fb3b commit 3bb9beeCopy full SHA for 3bb9bee
packages/x6-angular-shape/src/view.ts
@@ -61,7 +61,9 @@ export class AngularShapeView extends NodeView<AngularShape> {
61
this.setInstanceInput(content, embeddedViewRef),
62
)
63
} else {
64
- const componentRef = viewContainerRef.createComponent(content)
+ const componentRef = viewContainerRef.createComponent(content, {
65
+ injector,
66
+ })
67
const insertNode = (componentRef.hostView as EmbeddedViewRef<any>)
68
.rootNodes[0] as HTMLElement
69
container.appendChild(insertNode)
0 commit comments