monkey-front-core 0.0.509 → 0.0.511
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs +2 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +1 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.511.tgz +0 -0
- package/package.json +4 -4
- package/monkey-front-core-0.0.509.tgz +0 -0
|
@@ -3939,7 +3939,7 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3939
3939
|
getWhiteLabel(configBootstrap, callback, environment, identifyCode, url) {
|
|
3940
3940
|
const { monkeyecxService, configSubject$, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, monkeyecxi18nConfigService, monkeyEcxAlertsConfigService } = this;
|
|
3941
3941
|
monkeyecxService?.get(`${url}/white-label.json`)?.subscribe(async (config) => {
|
|
3942
|
-
monkeyecxi18nConfigService.applyExternal(config, environment);
|
|
3942
|
+
monkeyecxi18nConfigService.applyExternal(config, environment?.locale?.lang || 'pt-BR');
|
|
3943
3943
|
monkeyecxLogsConfigService.apply(config, configBootstrap, environment, identifyCode);
|
|
3944
3944
|
monkeyEcxFeatureToggleService.apply(configSubject$, environment);
|
|
3945
3945
|
monkeyEcxAlertsConfigService.apply(config);
|