]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/overview/overview.service.ts
Better spacing beetween comments
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / overview / overview.service.ts
index bd4068925486b2d6bfa40fccd38090a34b954b04..79cb781f7c30d2f07b50134d9e3346d96d19b8f9 100644 (file)
@@ -60,7 +60,7 @@ export class OverviewService {
       .pipe(
         // Translate categories
         switchMap(() => {
-          return this.serverService.localeObservable
+          return this.serverService.getServerLocale()
               .pipe(
                 tap(translations => {
                   for (const c of videosOverviewResult.categories) {