display the good state of prizes

This commit is contained in:
S. Hattry 2022-06-29 14:06:51 +00:00 • committed by Jérémy Munsch
parent 0f66cc8763
commit 69262df7de
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -26,7 +26,7 @@
<tr v-for="item in datas" v-bind:key="item.id">
<td>{{item.appear_date}}</td>
<td>{{item.prize.label_one}}</td>
<td>{{item.won === 0 ? "Non" : "Oui"}}</td>
<td>{{item.won === false ? "Non" : "Oui"}}</td>
</tr>
</tbody>
</table>