chore(profile): updated api objects; replaced mock data with api results

This commit is contained in:
2026-02-07 20:54:03 +01:00
parent 1d49de1c6b
commit ce8bbe4c67
3 changed files with 167 additions and 60 deletions
+5
View File
@@ -0,0 +1,5 @@
export function getCountPercentage(partCount: number, allCount: number, fixedDigits: number) {
if (allCount == 0) return 0;
return ((partCount / allCount) * 100).toFixed(fixedDigits);
}