fix: Fix the configured memory in detail page

Change the unit of configured memory to GB to match list info

Change-Id: I398610e52c4638be4b01d03fa026107cc39735bf
This commit is contained in:
xusongfu 2021-07-08 13:16:01 +08:00
parent 608d9ef5f4
commit f0b260dd90

View File

@ -51,7 +51,7 @@ export default class HypervisorDetail extends Base {
title: t('Configured Memory (GB)'),
dataIndex: 'memory_mb_percent',
render: (value, record) =>
`${record.memory_mb_used} / ${record.memory_mb}`,
`${record.memory_mb_used_gb} / ${record.memory_mb_gb}`,
},
];
}