Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Filter languages by presence of ISO (#3017)

Dhruv Bhanushali539135ee3445
diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts
index 410727bc3..a48a008de 100644
--- a/frontend/nuxt.config.ts
+++ b/frontend/nuxt.config.ts
@@ -106,7 +106,7 @@ const openverseLocales = [
nativeName: "English",
},
...(locales ?? []),
-].filter((l) => Boolean(l.code)) as LocaleObject[]
+].filter((l) => Boolean(l.iso)) as LocaleObject[]
const port = process.env.PORT || 8443
const isProdNotPlaywright = isProd && !(process.env.PW === "true")