counts/pod calculate err in project base info
Created by: moweiwei
General remarks
/bug
Describe the bug counts/pod calculate err in project base info
count/pods is 2, but show 2k, Not just pods, but other resources too
url: /demo/clusters/host/projects/demo/base-info
const handleUsedValue = usedValue => {
if (totalUnit && !usedUnit) {
const unitValue =
ICON_TYPES[name] || !Unit[totalUnit] ? 1 : Unit[totalUnit]
return `${usedValue / unitValue}${usedValue > 0 ? totalUnit : ''}`
}
return usedValue
}