diff --git a/src/app/form/form.component.ts b/src/app/form/form.component.ts index 7c7409c162dae0d7d81121780a9dd03615c0765b..10a41c2d986c5a2136138165722d78117f7c2340 100644 --- a/src/app/form/form.component.ts +++ b/src/app/form/form.component.ts @@ -902,7 +902,7 @@ export class FormComponent implements OnInit { } public closeEditMode(): void { - this.router.navigateByUrl('home', { state: { data: this.createdStructure } }); + this.router.navigateByUrl('acteurs', { state: { data: this.createdStructure } }); } public verifyUserExist(inputEmail): void { @@ -925,6 +925,6 @@ export class FormComponent implements OnInit { } public structureDeleted(): void { - this.router.navigateByUrl('home'); + this.router.navigateByUrl('acteurs'); } }