fixed translations in list component
This commit is contained in:
@@ -44,10 +44,12 @@ export class ListComponent implements OnInit, OnChanges {
|
|||||||
private waypointVisitedService: WaypointVisitedService,
|
private waypointVisitedService: WaypointVisitedService,
|
||||||
private userService: UserService,
|
private userService: UserService,
|
||||||
private cookieService: cookieService,
|
private cookieService: cookieService,
|
||||||
|
private readTranslationJsonService: ReadTranslateJsonService,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
|
this.translations = this.readTranslationJsonService.getListTransaltions();
|
||||||
this.username = this.cookieService.getUsername();
|
this.username = this.cookieService.getUsername();
|
||||||
this.route.params.subscribe(params => {
|
this.route.params.subscribe(params => {
|
||||||
this.locationParams = params['location'];
|
this.locationParams = params['location'];
|
||||||
|
|||||||
Reference in New Issue
Block a user