mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
fix: minor changes based on review
This commit is contained in:
@ -72,7 +72,7 @@ export default async function AdminStatsPage() {
|
|||||||
/>
|
/>
|
||||||
<CardMetric
|
<CardMetric
|
||||||
icon={File}
|
icon={File}
|
||||||
title="Users who sent one or more documents in the past month"
|
title="Users who uploaded one or more documents in the past month"
|
||||||
value={userWithAtLeastOneDocumentSignedPerMonth}
|
value={userWithAtLeastOneDocumentSignedPerMonth}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -37,7 +37,10 @@ export const UserWithDocumentChart = ({ className, data }: UserWithDocumentChart
|
|||||||
}}
|
}}
|
||||||
formatter={(value, name) => [
|
formatter={(value, name) => [
|
||||||
Number(value).toLocaleString('en-US'),
|
Number(value).toLocaleString('en-US'),
|
||||||
name === 'count' ? 'User with document' : 'Users with signed document',
|
{
|
||||||
|
count: 'User with document',
|
||||||
|
signed_count: 'Users with signed document',
|
||||||
|
}[name],
|
||||||
]}
|
]}
|
||||||
cursor={{ fill: 'hsl(var(--primary) / 10%)' }}
|
cursor={{ fill: 'hsl(var(--primary) / 10%)' }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user