divide by 100 + toFixes(2)

ref #139
This commit is contained in:
Philipp Dormann 2021-07-05 13:30:17 +02:00
parent 76b69d851a
commit b246f2b349
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -70,7 +70,7 @@
<div class="text-xs uppercase font-light text-grey-500"> <div class="text-xs uppercase font-light text-grey-500">
{$_('total-donations')} {$_('total-donations')}
</div> </div>
<div class="text-xl font-bold">{stats.total_donation} €</div> <div class="text-xl font-bold">{(stats.total_donation/100).toFixed(2)} €</div>
</div><svg </div><svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
height="24" height="24"