refactor-component-creation #47
@ -104,7 +104,6 @@ export class AppComponent implements OnInit{
|
|||||||
|
|
||||||
if(componentCreator) {
|
if(componentCreator) {
|
||||||
const createdModel = componentCreator.createModelComponent();
|
const createdModel = componentCreator.createModelComponent();
|
||||||
console.log(createdModel)
|
|
||||||
this.openModelComponent(createdModel!)
|
this.openModelComponent(createdModel!)
|
||||||
|
|
||||||
const openedOverview = this.openedOverview;
|
const openedOverview = this.openedOverview;
|
||||||
|
@ -19,7 +19,6 @@ export class ItemCreator extends ModelComponentCreator {
|
|||||||
this.selectedComponent.addItem(item, this.getInheritedGroups(this.selectedComponent))
|
this.selectedComponent.addItem(item, this.getInheritedGroups(this.selectedComponent))
|
||||||
return item;
|
return item;
|
||||||
} else {
|
} else {
|
||||||
console.log(this.selectedComponent)
|
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user