change storageUsed => totalUploadsSize
This commit is contained in:
parent
987fa62c67
commit
26b3ec2cbc
|
@ -200,7 +200,7 @@ export default function Home({ plans }) {
|
|||
<div className="ml-5 w-0 flex-1">
|
||||
<dt className="text-sm font-medium text-gray-500 truncate">Storage used</dt>
|
||||
<dd className="flex items-baseline">
|
||||
<div className="text-2xl font-semibold text-grey-900">{prettyBytes(stats?.storageUsed ?? 0)}</div>
|
||||
<div className="text-2xl font-semibold text-grey-900">{prettyBytes(stats?.totalUploadsSize ?? 0)}</div>
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -83,7 +83,9 @@ export default function Payments({ plans, user: initialUserData, stats: initialS
|
|||
<div className="bg-white overflow-hidden shadow rounded-lg">
|
||||
<div className="px-4 py-5 sm:p-6">
|
||||
<dt className="text-sm font-medium text-gray-500 truncate">Storage used</dt>
|
||||
<dd className="mt-1 text-3xl font-semibold text-gray-900">{prettyBytes(stats.storageUsed)}</dd>
|
||||
<dd className="mt-1 text-3xl font-semibold text-gray-900">
|
||||
{prettyBytes(stats?.totalUploadsSize ?? 0)}
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
</dl>
|
||||
|
|
Reference in New Issue