mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-09 17:14:21 +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 />
|
if (volunteers.length === 0) return <div />
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ul className={styles.volunteers}>
|
<div className={styles.volunteers}>
|
||||||
<li>
|
|
||||||
<div className={styles.volunteerName} />
|
<div className={styles.volunteerName} />
|
||||||
<div className={styles.dayTitle}>S ({volunteers.filter(hasDay("S")).length})</div>
|
<div className={styles.dayTitle}>S ({volunteers.filter(hasDay("S")).length})</div>
|
||||||
<div className={styles.dayTitle}>D ({volunteers.filter(hasDay("D")).length})</div>
|
<div className={styles.dayTitle}>D ({volunteers.filter(hasDay("D")).length})</div>
|
||||||
</li>
|
|
||||||
{volunteers.map((volunteer) => (
|
{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}
|
{volunteer.firstname} {volunteer.lastname}
|
||||||
</div>
|
</div>
|
||||||
<DaysAvailability volunteer={volunteer} />
|
<DaysAvailability volunteer={volunteer} />
|
||||||
<VolunteerEmail email={volunteer.email} />
|
<VolunteerEmail email={volunteer.email} />
|
||||||
</li>
|
</>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user