From 674c0a8f7e18d93066c5deec5b3eb8135ebac7f7 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Tue, 9 Jun 2020 12:25:47 +0200 Subject: [PATCH] PreBarrage: change form on graph click, edit walls --- src/app/components/pb-schema/pb-schema.component.ts | 2 +- src/app/formulaire/definition/form-definition.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/pb-schema/pb-schema.component.ts b/src/app/components/pb-schema/pb-schema.component.ts index cd7ad1415..8b25d56a4 100644 --- a/src/app/components/pb-schema/pb-schema.component.ts +++ b/src/app/components/pb-schema/pb-schema.component.ts @@ -448,7 +448,7 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni const wall = this._selectedItem as PbCloison; const wallCopy = new PbCloison(wall.bassinAmont, wall.bassinAval); this.model.addChild(wallCopy); - this.unselect(); + this.unselect(); // @TODO select new wall ? this.refresh(); this.selectNodeOnSchema(wallCopy); } diff --git a/src/app/formulaire/definition/form-definition.ts b/src/app/formulaire/definition/form-definition.ts index 2526d670e..0498c5498 100644 --- a/src/app/formulaire/definition/form-definition.ts +++ b/src/app/formulaire/definition/form-definition.ts @@ -270,6 +270,7 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs break; case "template_container": + console.log("parsing template container !", conf); this.parse_template_container(conf, templates); break; -- GitLab