fixed translations in list component

This commit is contained in:
grata
2023-05-07 11:19:34 +02:00
parent 8042cae666
commit 516af816be

View File

@@ -44,10 +44,12 @@ export class ListComponent implements OnInit, OnChanges {
private waypointVisitedService: WaypointVisitedService,
private userService: UserService,
private cookieService: cookieService,
private readTranslationJsonService: ReadTranslateJsonService,
) {
}
async ngOnInit() {
this.translations = this.readTranslationJsonService.getListTransaltions();
this.username = this.cookieService.getUsername();
this.route.params.subscribe(params => {
this.locationParams = params['location'];