diff --git a/src/app/components/shared/header/header.component.ts b/src/app/components/shared/header/header.component.ts index efb9c975f7f531d1702678474c55f7d410f04ea3..d7a3323b0298d1b5ce4ab1227c116602f6bc93e1 100644 --- a/src/app/components/shared/header/header.component.ts +++ b/src/app/components/shared/header/header.component.ts @@ -380,7 +380,7 @@ export class HeaderComponent implements OnInit, AfterViewInit { } public navigateToOtherView() { - const url = this.router.url; + const url = decodeURI(this.router.url); let newRoute = '/participant/'; if (this.userRole !== this.user.role) { newRoute = this.user.role === UserRole.CREATOR ? '/creator/' : '/moderator/';