@pushwoosh/smart-components-kit 1.0.19 → 1.0.20

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.
@@ -14,7 +14,7 @@ export const LanguagesSelectForm = ({
14
14
  const [search, setSearch] = useState('');
15
15
  const [showAllLanguages, setShowAllLanguages] = useState(false);
16
16
  const filteredLanguages = useMemo(() => {
17
- const languageItems = showAllLanguages ? allLanguageItems : allLanguageItems.filter(lang => lang.subscribers > 0);
17
+ const languageItems = showAllLanguages ? allLanguageItems : allLanguageItems.filter(lang => lang.subscribers > 0 || langs.includes(lang.code));
18
18
  if (!search) {
19
19
  return languageItems;
20
20
  }
package/package.json CHANGED
@@ -50,5 +50,5 @@
50
50
  "engines": {
51
51
  "node": ">= 18"
52
52
  },
53
- "version": "1.0.19"
53
+ "version": "1.0.20"
54
54
  }