fix: use the right number in stats page

This commit is contained in:
Maël Gangloff 2025-11-02 23:15:16 +01:00
parent e65d3842bd
commit bc279032da
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -80,7 +80,7 @@ export default function StatisticsPage() {
loading={stats === undefined}
title={t`Purchased domain names`}
prefix={<FieldTimeOutlined/>}
value={stats?.domainPurchased}
value={(stats?.domainPurchased??0) - (stats?.domainPurchaseFailed??0)}
valueStyle={{color: 'green'}}
/>
</Card>