From ba430d7516bc5b1324b60571ba7594460969b7fb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Dec 2019 15:31:54 +0100 Subject: Lazy load static objects --- client/src/app/shared/overview/overview.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/overview') 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 { .pipe( // Translate categories switchMap(() => { - return this.serverService.localeObservable + return this.serverService.getServerLocale() .pipe( tap(translations => { for (const c of videosOverviewResult.categories) { -- cgit v1.2.3