From 516af816bed43c3f46456a4ffea30a3760438e4f Mon Sep 17 00:00:00 2001 From: grata Date: Sun, 7 May 2023 11:19:34 +0200 Subject: [PATCH] fixed translations in list component --- src/app/component/list/list.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/component/list/list.component.ts b/src/app/component/list/list.component.ts index 01393cf..8bd59b2 100644 --- a/src/app/component/list/list.component.ts +++ b/src/app/component/list/list.component.ts @@ -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'];