fixing admin show student class data
This commit is contained in:
parent
3fa01af39b
commit
7fd030efe2
|
|
@ -183,11 +183,11 @@ const ManageProgress = () => {
|
|||
<Card.Text className='mb-4 fs-14p'>
|
||||
{data.STUDENTS < data.TOTAL_STUDENT?(
|
||||
<>
|
||||
<span className='fw-bold'>{data.STUDENTS} </span>
|
||||
out of {data.TOTAL_STUDENT} students
|
||||
<span className='fw-bold'>{data.STUDENTS} </span>
|
||||
out of {data.TOTAL_STUDENT} students
|
||||
</>
|
||||
):(
|
||||
`${data.TOTAL_STUDENT} students`
|
||||
`${data.STUDENTS} students`
|
||||
)}
|
||||
</Card.Text>
|
||||
{/* <Button as={Link} to={`c/${data.ID_CLASS}`} variant="warning" className='py-2 w-100 rounded-35'>See Details</Button> */}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user