aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/overview
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-18 15:31:54 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 15:40:59 +0100
commitba430d7516bc5b1324b60571ba7594460969b7fb (patch)
treedf5c6952c82f49a94c0a884bbc97d4a0cbd9f867 /client/src/app/shared/overview
parent5dfb7c1dec8222b0bbccac5b56ad46da1438747e (diff)
downloadPeerTube-ba430d7516bc5b1324b60571ba7594460969b7fb.tar.gz
PeerTube-ba430d7516bc5b1324b60571ba7594460969b7fb.tar.zst
PeerTube-ba430d7516bc5b1324b60571ba7594460969b7fb.zip
Lazy load static objects
Diffstat (limited to 'client/src/app/shared/overview')
-rw-r--r--client/src/app/shared/overview/overview.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/overview/overview.service.ts b/client/src/app/shared/overview/overview.service.ts
index bd4068925..79cb781f7 100644
--- a/client/src/app/shared/overview/overview.service.ts
+++ b/client/src/app/shared/overview/overview.service.ts
@@ -60,7 +60,7 @@ export class OverviewService {
60 .pipe( 60 .pipe(
61 // Translate categories 61 // Translate categories
62 switchMap(() => { 62 switchMap(() => {
63 return this.serverService.localeObservable 63 return this.serverService.getServerLocale()
64 .pipe( 64 .pipe(
65 tap(translations => { 65 tap(translations => {
66 for (const c of videosOverviewResult.categories) { 66 for (const c of videosOverviewResult.categories) {