@adminforth/i18n 3.1.2 → 3.1.3
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/build.log
CHANGED
|
@@ -20,5 +20,5 @@ custom/package.json
|
|
|
20
20
|
custom/pnpm-lock.yaml
|
|
21
21
|
custom/tsconfig.json
|
|
22
22
|
|
|
23
|
-
sent 45,
|
|
24
|
-
total size is 44,
|
|
23
|
+
sent 45,470 bytes received 305 bytes 91,550.00 bytes/sec
|
|
24
|
+
total size is 44,318 speedup is 0.97
|
|
@@ -40,6 +40,10 @@ const selectedLanguage = ref('');
|
|
|
40
40
|
const coreStore = useCoreStore();
|
|
41
41
|
|
|
42
42
|
watch(() => selectedLanguage.value, async (newVal) => {
|
|
43
|
+
// Select clears its value while the user types a search, the language stays until another one is picked
|
|
44
|
+
if (!newVal) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
43
47
|
await setLang({ setLocaleMessage, locale }, props.meta.pluginInstanceId, newVal);
|
|
44
48
|
coreStore.getPublicConfig();
|
|
45
49
|
coreStore.getLoginFormConfig();
|
|
@@ -40,6 +40,10 @@ const selectedLanguage = ref('');
|
|
|
40
40
|
const coreStore = useCoreStore();
|
|
41
41
|
|
|
42
42
|
watch(() => selectedLanguage.value, async (newVal) => {
|
|
43
|
+
// Select clears its value while the user types a search, the language stays until another one is picked
|
|
44
|
+
if (!newVal) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
43
47
|
await setLang({ setLocaleMessage, locale }, props.meta.pluginInstanceId, newVal);
|
|
44
48
|
coreStore.getPublicConfig();
|
|
45
49
|
coreStore.getLoginFormConfig();
|