Skip to content
Snippets Groups Projects
Commit 57fe74ad authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Now using language from localStorage in shared-components

parent ba176460
1 merge request!119Fix default content group
Pipeline #20740 passed with stages
in 4 minutes and 12 seconds
......@@ -42,7 +42,7 @@ export class CommentListComponent implements OnInit {
this.roomShortId = this.route.snapshot.paramMap.get('roomId');
this.roomId = localStorage.getItem(`roomId`);
this.getComments();
this.translateService.use(sessionStorage.getItem('currentLang'));
this.translateService.use(localStorage.getItem('currentLang'));
}
getComments(): void {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment