From 54838477541181a1b8a573bb27768778b6887b3f Mon Sep 17 00:00:00 2001 From: Diamantis Tziotzios Date: Wed, 19 May 2021 14:22:03 +0300 Subject: [PATCH] culture service workaround --- dmp-frontend/src/app/core/services/culture/culture-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmp-frontend/src/app/core/services/culture/culture-service.ts b/dmp-frontend/src/app/core/services/culture/culture-service.ts index 2dc07752b..e2f77acdf 100644 --- a/dmp-frontend/src/app/core/services/culture/culture-service.ts +++ b/dmp-frontend/src/app/core/services/culture/culture-service.ts @@ -81,6 +81,6 @@ export class CultureService { } getCurrentCulture(): CultureInfo { - return this.currentCulture; + return this.currentCulture || this.cultureValues.get('en-US'); //TODO: fix this } }