mirror of
https://github.com/labring/sealos.git
synced 2026-08-29 01:39:49 +08:00
fix(dbprovider): align disk unit labels (#7191)
fix(dbprovider): unify disk unit display
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user