diff --git a/modern/src/Dashboard.tsx b/modern/src/Dashboard.tsx index 203269a4..db429295 100644 --- a/modern/src/Dashboard.tsx +++ b/modern/src/Dashboard.tsx @@ -39,6 +39,10 @@ Object.keys(objects).forEach(key => { }); }); +const foundMethods = normalizedMethods.filter( + method => method.foundInSkins > 0 +); + function PercentBox({ number, total, label }) { const percent = total === 0 ? 1 : number / total; @@ -111,7 +115,12 @@ export default function() { + method.implemented).length} + total={foundMethods.length} + label="Used Methods" />