Skip to content
Snippets Groups Projects
Commit 76f4332b authored by Antonin COQUET's avatar Antonin COQUET
Browse files

fix: remove deletion of accompaniement on strucutre edit

parent baf5f923
No related branches found
No related tags found
3 merge requests!178release V1.10.0,!154Dev,!137fix: remove deletion of accompaniement on strucutre edit
...@@ -832,7 +832,7 @@ export class FormComponent implements OnInit { ...@@ -832,7 +832,7 @@ export class FormComponent implements OnInit {
} }
public toggleProceduresAccompaniment(): void { public toggleProceduresAccompaniment(): void {
this.showProceduresAccompaniment = !this.showProceduresAccompaniment; this.showProceduresAccompaniment = !this.showProceduresAccompaniment;
if (!this.showProceduresAccompaniment) { if (!this.showProceduresAccompaniment && !this.isEditMode) {
this.getStructureControl('proceduresAccompaniment').reset(); this.getStructureControl('proceduresAccompaniment').reset();
} }
this.setValidationsForm(); this.setValidationsForm();
......
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