From 3d658cc7fe1f49f046ff5a3ffe7ae3eb9155be59 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Wed, 7 Apr 2021 11:26:26 +0200
Subject: [PATCH] fix: broken link

---
 src/app/form/form.component.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/form/form.component.ts b/src/app/form/form.component.ts
index 7c7409c16..10a41c2d9 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');
   }
 }
-- 
GitLab