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
No related merge requests found
......@@ -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