fix(ActionItem): rendering threw errors if it had a nested child. (#9821)

This commit is contained in:
Dimitris - Rafail Katsampas
2022-03-19 23:55:10 +02:00
committed by GitHub
parent 3bb8fc28e9
commit efa80c728b

View File

@@ -423,7 +423,7 @@ export namespace xml2ui {
if (componentModule) {
this.sourceTracker(componentModule.component, args.position);
if (parent) {
if (complexProperty) {
if (complexProperty && complexProperty.parent == parent) {
// Add component to complex property of parent component.
ComponentParser.addToComplexProperty(parent, complexProperty, componentModule);
} else if ((<any>parent.component)._addChildFromBuilder) {