diff --git a/src/components/Charts/Skelton.jsx b/src/components/Charts/Skelton.jsx index f88b324d..804653b8 100644 --- a/src/components/Charts/Skelton.jsx +++ b/src/components/Charts/Skelton.jsx @@ -3,9 +3,7 @@ import React from "react"; const ChartSkeleton = () => { return (
| Role | @@ -145,9 +161,15 @@ const AttendanceOverview = () => { {roles.map((role) => (||
|---|---|---|
| {role} | - {tableData.map((row, idx) => ( -{row[role]} | - ))} + {tableData.map((row, idx) => { + const value = row[role]; + const cellStyle = value > 0 ? { backgroundColor: '#d5d5d5' } : {}; + return ( ++ {value} + | + ); + })}