From d666c55b10bb1c0042724da2a2648b72cdd02e4a Mon Sep 17 00:00:00 2001 From: manumoreira <31930782+manumoreira@users.noreply.github.com> Date: Fri, 3 Jun 2022 15:34:36 -0300 Subject: [PATCH] Update AddLanguage.jsx (#2090) Delete filter for code set for 639-2/B not null to add more languages like Lugbara, Teso, Ganda, Nkore, and Nyankole --- assets/js/components/questionnaires/AddLanguage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/questionnaires/AddLanguage.jsx b/assets/js/components/questionnaires/AddLanguage.jsx index 34e0aeb55..9d6124d53 100644 --- a/assets/js/components/questionnaires/AddLanguage.jsx +++ b/assets/js/components/questionnaires/AddLanguage.jsx @@ -33,7 +33,7 @@ class AddLanguage extends Component { lang.text.indexOf(value) !== -1 || lang.text.toLowerCase().indexOf(value) !== -1 let languagesOptions = iso6393 - .filter((lang) => lang.type == "living" && lang.iso6392T != null) + .filter((lang) => lang.type == "living") .map((lang) => ({ id: idForLanguange(lang), text: lang.name })) // Don't show languages that are already selected