diff --git a/frontend/src/app/dashboard/dashboard.component.ts b/frontend/src/app/dashboard/dashboard.component.ts index 745bb7187..662e16437 100644 --- a/frontend/src/app/dashboard/dashboard.component.ts +++ b/frontend/src/app/dashboard/dashboard.component.ts @@ -263,6 +263,6 @@ export class DashboardComponent implements OnInit { try { document.cookie = `lang=${language}; expires=Thu, 18 Dec 2050 12:00:00 UTC; path=/`; } catch (e) { } - this.document.location.href = `${language === 'en' ? '' : '/' + language}/${this.stateService.network}`; + this.document.location.href = `/${language}/${this.stateService.network}`; } }