Correction clés étrangères
This commit is contained in:
@ -47,8 +47,8 @@ function ResultatsTable({blocs, nuances, listes, resultats, siegesParListe}) {
|
||||
<TableCell bgColor={blocs.filter(bloc => bloc.nom === liste.bloc)[0].couleur} sx={{padding: "0.2em"}}></TableCell>
|
||||
<TableCell>{liste.bloc}</TableCell>
|
||||
<TableCell>{voix_listes[liste.numero] || 0}</TableCell>
|
||||
<TableCell>{(100 * (voix_listes[liste.numero] || 0) / resultats.exprimes).toFixed(2)} %</TableCell>
|
||||
<TableCell>{(100 * (voix_listes[liste.numero] || 0) / resultats.inscrits).toFixed(2)} %</TableCell>
|
||||
<TableCell>{(100 * (voix_listes[liste.numero] || 0) / resultats.exprimes).toFixed(2)} %</TableCell>
|
||||
<TableCell>{siegesParListe[liste.numero]}</TableCell>
|
||||
</TableRow>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user