Skip to content
Snippets Groups Projects
Commit ed39304e authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: broken links

parent 004da533
No related branches found
No related tags found
2 merge requests!178release V1.10.0,!111Dev
......@@ -1144,7 +1144,7 @@
<button
*ngIf="currentPage == nbPagesForm && !profile"
class="btn-primary validate unique"
routerLink="/home"
routerLink="/acteurs"
[routerLinkActive]="'active'"
>
Ok
......@@ -1152,7 +1152,7 @@
<button
*ngIf="currentPage == nbPagesForm && profile"
class="btn-primary unique"
routerLink="/home"
routerLink="/acteurs"
[queryParams]="{ id: createdStructure._id }"
[state]="{ data: createdStructure }"
>
......@@ -1187,7 +1187,7 @@
<button
*ngIf="currentPage == nbPagesForm && !profile"
class="btn-primary validate unique"
routerLink="/home"
routerLink="/acteurs"
[routerLinkActive]="'active'"
>
Ok
......@@ -1195,7 +1195,7 @@
<button
*ngIf="currentPage == nbPagesForm && profile"
class="btn-primary unique"
routerLink="/home"
routerLink="/acteurs"
[queryParams]="{ id: createdStructure._id }"
[state]="{ data: createdStructure }"
>
......
......@@ -20,10 +20,10 @@ export class StructureJoinComponent implements OnInit {
.validateStructureJoin(params.get('id'), params.get('userId'), params.get('status') === 'true' ? true : false)
.subscribe(
(res) => {
this.router.navigateByUrl('/home');
this.router.navigateByUrl('/acteurs');
},
(err) => {
this.router.navigateByUrl('/home');
this.router.navigateByUrl('/acteurs');
}
);
}
......
......@@ -20,7 +20,7 @@
<button
*ngIf="verificationSuccess"
class="btn"
routerLink="/home"
routerLink="/acteurs"
[queryParams]="{ id: structure._id }"
[state]="{ data: structure }"
>
......@@ -50,7 +50,7 @@
Donnez nous votre avis: vous pouvez participer à l'amélioration de Rés'in en répondant à ces quelques questions
</div>
<div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="24px" [style.margin-top]="'50px'">
<button class="button" routerLink="/home">Je passe mon tour</button>
<button class="button" routerLink="/acteurs">Je passe mon tour</button>
<a
*ngIf="structure"
target="_blank"
......
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