feat: increase langs_count to 100

This commit is contained in:
rickstaa
2022-10-03 11:49:14 +02:00
parent 9e1fc0b7da
commit 450d095fe4
+1 -1
View File
@@ -205,7 +205,7 @@ const calculateNormalLayoutHeight = (totalLangs) => {
const useLanguages = (topLangs, hide, langs_count) => {
let langs = Object.values(topLangs);
let langsToHide = {};
let langsCount = clampValue(parseInt(langs_count), 1, 10);
let langsCount = clampValue(parseInt(langs_count), 1, 100);
// populate langsToHide map for quick lookup
// while filtering out