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

fix: typo + news navigation issue

parent 9b39ad73
No related branches found
No related tags found
2 merge requests!178release V1.10.0,!111Dev
......@@ -10,7 +10,7 @@
</div>
<div fxLayout="row" class="right-header" fxLayoutAlign="center center" fxLayoutGap="3vw">
<a routerLink="/news" [routerLinkActive]="'active'" i18n>Actualités</a>
<a routerLink="/acteurs" [routerLinkActive]="'active'" i18n>Cartographie de acteurs</a>
<a routerLink="/acteurs" [routerLinkActive]="'active'" i18n>Cartographie des acteurs</a>
<a routerLink="/about" [routerLinkActive]="'active'" i18n>Qui sommes-nous ?</a>
<a *ngIf="isAdmin" routerLink="/admin" [routerLinkActive]="'active'">Administration</a>
<button *ngIf="isLoggedIn" class="red" routerLink="/profile" [routerLinkActive]="'active'">
......
......@@ -107,7 +107,7 @@ export class PostHeaderComponent implements OnInit {
}
private setQueryParam(): void {
this.router.navigate([], {
this.router.navigate(['/news'], {
relativeTo: this.route,
queryParams: {
mainTag: this.mainActiveTag.slug == this.tagEnum.etudes ? this.mainActiveTag.name : this.mainActiveTag.slug,
......
<app-post-header (filterTags)="setFilters($event)"></app-post-header>
<div class="section-container">
<!-- <app-post-list [filters]="filters"></app-post-list> -->
<router-outlet></router-outlet>
</div>
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