This commit is contained in:
Muhammad Eko 2025-10-08 14:10:57 +07:00
parent ff15f97105
commit 3878dc455f
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ export default function AbsensiPage() {
...item, ...item,
countPercent: item.workdays > 0 ? (item.count / item.workdays) * 100 : 0, countPercent: item.workdays > 0 ? (item.count / item.workdays) * 100 : 0,
absentPercent: item.workdays > 0 ? (item.absent / item.workdays) * 100 : 0 absentPercent: item.workdays > 0 ? (item.absent / item.workdays) * 100 : 0
}))} })).sort((a, b) => b.countPercent - a.countPercent)}
margin={{ top: 20, right: 30, left: 20, bottom: 5 }} margin={{ top: 20, right: 30, left: 20, bottom: 5 }}
> >
{/* <CartesianGrid strokeDasharray="3 3" /> */} {/* <CartesianGrid strokeDasharray="3 3" /> */}