Skip to content
Snippets Groups Projects
Commit d6ae4ccd authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix(route) : fix routing params with id

parent 1f1ffb94
No related branches found
No related tags found
3 merge requests!103Recette,!102Dev,!94Fix/urgent task
......@@ -1151,6 +1151,7 @@
*ngIf="currentPage == nbPagesForm && profile"
class="btn-primary unique"
routerLink="/home"
[queryParams]="{ id: createdStructure._id }"
[state]="{ data: createdStructure }"
>
Voir ma structure
......@@ -1193,6 +1194,7 @@
*ngIf="currentPage == nbPagesForm && profile"
class="btn-primary unique"
routerLink="/home"
[queryParams]="{ id: createdStructure._id }"
[state]="{ data: createdStructure }"
>
Voir ma structure
......
......@@ -37,7 +37,13 @@
></div>
</div>
<div class="btnSection" fxLayout="row" fxLayoutAlign="space-around center">
<button *ngIf="structure && verificationSuccess" class="btn" routerLink="/home" [state]="{ data: structure }">
<button
*ngIf="structure && verificationSuccess"
class="btn"
routerLink="/home"
[queryParams]="{ id: structure._id }"
[state]="{ data: structure }"
>
Voir ma structure
</button>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment