Compare commits

...
1 Commits
Author SHA1 Message Date
rickstaa 450d095fe4 feat: increase langs_count to 100 2022-10-03 11:49:14 +02:00
+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