From 04f1c8e6258c2ac18a6659aa3dd3158d3cb376a5 Mon Sep 17 00:00:00 2001 From: kunw Date: Wed, 29 Mar 2017 19:18:17 +0800 Subject: [PATCH] Fix export function. --- src/ui_ng/src/app/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui_ng/src/app/app.module.ts b/src/ui_ng/src/app/app.module.ts index 3dde3002a..5cddb8cbd 100644 --- a/src/ui_ng/src/app/app.module.ts +++ b/src/ui_ng/src/app/app.module.ts @@ -26,7 +26,7 @@ export function initConfig(configService: AppConfigService) { return () => configService.load(); } -function getCurrentLanguage(translateService: TranslateService) { +export function getCurrentLanguage(translateService: TranslateService) { return translateService.currentLang; }