chore: dashboard update field name

This commit is contained in:
jialin
2024-09-09 18:58:55 +08:00
parent dff8a0ff2f
commit ea2844ea7f
8 changed files with 28 additions and 28 deletions
@@ -87,12 +87,12 @@ const ActiveTable = () => {
{
title: intl.formatMessage({ id: 'dashboard.allocatevram' }),
dataIndex: 'resource_claim.memory',
key: 'gpu_memory',
key: 'vram',
render: (text: any, record: any) => {
return (
<span>
{convertFileSize(record.resource_claim?.gpu_memory || 0)} /{' '}
{convertFileSize(record.resource_claim?.memory || 0)}
{convertFileSize(record.resource_claim?.vram || 0)} /{' '}
{convertFileSize(record.resource_claim?.ram || 0)}
</span>
);
}