@pushwoosh/smart-components-kit 1.0.20 → 1.0.22
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.
|
@@ -23,7 +23,7 @@ export const LanguagesSelectFormLoader = ({
|
|
|
23
23
|
name: 'Language'
|
|
24
24
|
});
|
|
25
25
|
const valuesLangCodes = values.map(v => v.value);
|
|
26
|
-
const allLangCodes = new Set([...valuesLangCodes, ...langCodes]).values()
|
|
26
|
+
const allLangCodes = Array.from(new Set([...valuesLangCodes, ...langCodes]).values());
|
|
27
27
|
return allLangCodes.toSorted((a, b) => {
|
|
28
28
|
return a.localeCompare(b, systemLanguage, {
|
|
29
29
|
sensitivity: 'base'
|
package/context/types.d.ts
CHANGED
package/package.json
CHANGED