This commit is contained in:
NotII
2025-06-30 14:54:13 +01:00
parent ad108298a6
commit 356da4606d
5 changed files with 82 additions and 36 deletions

View File

@@ -225,7 +225,7 @@ export default function CustomerInsightsChart() {
{index + 1}
</div>
<div>
<div className="font-medium">Customer #{customer._id.slice(-6)}</div>
<div className="font-medium">{customer.displayName || `Customer #${customer._id.slice(-6)}`}</div>
<div className="text-sm text-muted-foreground">
{customer.orderCount} orders
</div>