Fix grades exporter

This commit is contained in:
Pierre-Olivier Mercier 2022-03-04 16:24:39 +01:00
parent 8fb782fd04
commit 2927155fec

View File

@ -63,7 +63,7 @@
<td><a href="users/{user.login}" style="text-decoration: none">{user.login}</a></td>
{#each surveys as survey (survey.id)}
{#if survey.corrected && (promo === null || survey.promo == promo)}
<td>{grades[user.id][survey.id]?grades[user.id][survey.id]:"N/A"}</td>
<td>{grades[user.id] && grades[user.id][survey.id]?grades[user.id][survey.id]:"N/A"}</td>
{/if}
{/each}
</tr>