monkey-front-core 0.0.483 → 0.0.485
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-i18n-config.service.mjs +3 -7
- package/fesm2015/monkey-front-core.mjs +2 -6
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -6
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.485.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.483.tgz +0 -0
|
@@ -3528,16 +3528,12 @@ class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
|
3528
3528
|
}
|
|
3529
3529
|
async apply(environment) {
|
|
3530
3530
|
let lang = environment?.locale?.lang || 'pt-BR';
|
|
3531
|
-
console.log('@@@@@@@@@');
|
|
3532
3531
|
try {
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
console.log(me);
|
|
3536
|
-
console.log('**********************');
|
|
3532
|
+
console.log(localStorage.getItem('me'));
|
|
3533
|
+
const me = JSON.parse(localStorage.getItem('me') || '{}');
|
|
3537
3534
|
lang = me?.locale || lang;
|
|
3538
3535
|
}
|
|
3539
3536
|
catch (e) {
|
|
3540
|
-
console.log(e);
|
|
3541
3537
|
// not to do
|
|
3542
3538
|
}
|
|
3543
3539
|
if (lang === 'es-CL') {
|