fix(dbprovider): align disk unit labels (#7191)

fix(dbprovider): unify disk unit display
This commit is contained in:
Alex Lee
2026-08-10 11:37:05 +08:00
committed by GitHub
parent 06c8d219ed
commit f06eb94711
2 changed files with 2 additions and 2 deletions
@@ -16,7 +16,7 @@ const sourceMap = {
},
storage: {
color: '#8172D8',
unit: 'GB'
unit: 'Gi'
},
gpu: {
color: '#89CD11',
@@ -171,7 +171,7 @@ function ResourcesDistributeTable({ data }: { data: Parameters<typeof distribute
<Td w="190px">{keyName}</Td>
<Td>{value.cpuMemory.limits.cpu}</Td>
<Td>{value.cpuMemory.limits.memory}</Td>
<Td>{value.storage} G</Td>
<Td>{value.storage} Gi</Td>
<Td>{value.other?.replicas ?? data.replicas}</Td>
</Tr>
);