diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index 9e8cab7b2bc323d9824705d48cc384d9d2cca61c..3f402c5cbcfcc894fb60a0f6e0d5bdc2cb3ae061 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -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'"> diff --git a/src/app/post/components/post-header/post-header.component.ts b/src/app/post/components/post-header/post-header.component.ts index 21ef7a3886d7c40fa1b0a54f2676cc1555f48a41..2a9125ad040f173dfeb432d2ac3d3a792946375b 100644 --- a/src/app/post/components/post-header/post-header.component.ts +++ b/src/app/post/components/post-header/post-header.component.ts @@ -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, diff --git a/src/app/post/news.component.html b/src/app/post/news.component.html index 93d25593614704c3f94172331359df4dcc1bacec..34a02820651599afa85d024b6bdffe8dcc3591c4 100644 --- a/src/app/post/news.component.html +++ b/src/app/post/news.component.html @@ -1,5 +1,4 @@ <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>