mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-08 08:34:20 +02:00
fix(#19): continuing working
This commit is contained in:
parent
1462a05745
commit
3d139b9cbb
@ -73,22 +73,20 @@ const TeamMembers: FC<Props> = ({ teamId }): JSX.Element => {
|
||||
if (volunteers.length === 0) return <div />
|
||||
|
||||
return (
|
||||
<ul className={styles.volunteers}>
|
||||
<li>
|
||||
<div className={styles.volunteerName} />
|
||||
<div className={styles.dayTitle}>S ({volunteers.filter(hasDay("S")).length})</div>
|
||||
<div className={styles.dayTitle}>D ({volunteers.filter(hasDay("D")).length})</div>
|
||||
</li>
|
||||
<div className={styles.volunteers}>
|
||||
<div className={styles.volunteerName} />
|
||||
<div className={styles.dayTitle}>S ({volunteers.filter(hasDay("S")).length})</div>
|
||||
<div className={styles.dayTitle}>D ({volunteers.filter(hasDay("D")).length})</div>
|
||||
{volunteers.map((volunteer) => (
|
||||
<li key={volunteer.id} className={styles.volunteer}>
|
||||
<div className={styles.volunteerName}>
|
||||
<>
|
||||
<div key={volunteer.id} className={styles.volunteerName}>
|
||||
{volunteer.firstname} {volunteer.lastname}
|
||||
</div>
|
||||
<DaysAvailability volunteer={volunteer} />
|
||||
<VolunteerEmail email={volunteer.email} />
|
||||
</li>
|
||||
</>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user