Skip to content
Snippets Groups Projects
Commit c26fe7eb authored by rhenck's avatar rhenck
Browse files

[editor] Fix templates to update unit definition

parent 6d714152
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ export class TemplateService {
async applyTemplate(templateName: string) {
const templateSection: Section = await this.createTemplateSection(templateName);
this.unitService.getSelectedPage().addSection(templateSection);
this.unitService.updateUnitDefinition();
}
private createTemplateSection(templateName: string): Promise<Section> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment