@eui/core 22.0.0-alpha.37 → 22.0.0-alpha.39
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/CHANGELOG.md +33 -0
- package/docs/changelog.html +28 -0
- package/docs/interfaces/Schema-10.html +1 -1
- package/docs/interfaces/Schema-11.html +1 -1
- package/docs/interfaces/Schema-7.html +1 -1
- package/docs/interfaces/Schema-8.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +8 -8
- package/docs/llms.txt +23 -23
- package/docs/miscellaneous/functions.html +16 -16
- package/docs/miscellaneous/variables.html +21 -21
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +4 -1
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts.map +1 -1
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -3253,7 +3253,7 @@ class EuiAppShellService {
|
|
|
3253
3253
|
});
|
|
3254
3254
|
// update the Store Language
|
|
3255
3255
|
if (updateI18 && nextState.activeLanguage !== stateBeforeUpdate.activeLanguage) {
|
|
3256
|
-
this.i18nService
|
|
3256
|
+
this.i18nService?.updateState({ activeLang: nextState.activeLanguage });
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|
|
3259
3259
|
/**
|
|
@@ -3461,6 +3461,9 @@ class EuiAppShellService {
|
|
|
3461
3461
|
return Promise.reject(error.message || error);
|
|
3462
3462
|
}
|
|
3463
3463
|
bindActiveLanguageToAppShellState() {
|
|
3464
|
+
if (!this.i18nService) {
|
|
3465
|
+
return;
|
|
3466
|
+
}
|
|
3464
3467
|
this.i18nService.getState((s) => s.activeLang).subscribe((activeLang) => {
|
|
3465
3468
|
if (activeLang !== this.state.activeLanguage) {
|
|
3466
3469
|
this.setState({
|