mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: fix typo
This commit is contained in:
1 parent
2620286aef
commit
91f3b9070a
1 file changed
+1
-1
@@ -5,7 +5,7 @@ export default function getAvailableLangs(langsList?: string[]) {
|
||||
for (const key in LANGS) {
|
||||
if (prefixes.has(key)) continue;
|
||||
if (langsList && langsList.length && langsList.join('') && !langsList.includes(key)) continue;
|
||||
else if (LANGS[key].hidden && !langList?.includes(key)) continue;
|
||||
else if (LANGS[key].hidden && !langsList?.includes(key)) continue;
|
||||
Langs[key] = LANGS[key];
|
||||
}
|
||||
return Langs;
|
||||
|
||||
Reference in new issue
Block a user