Fix ResourceQuotaDetails quotas display bugs (#5909)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-08-05 14:02:35 -04:00
1 parent 08cc9101d9
commit d9785ad4dc
3 files changed
+52 -17

No files matched your search

@@ -82,7 +82,7 @@ export class PodStore extends KubeObjectStore<Pod, PodApi> {
}
return {
cpu: total.cpu + cpuUnitsToNumber(cpu),
cpu: total.cpu + (cpuUnitsToNumber(cpu) ?? 0),
memory: total.memory + unitsToBytes(memory),
};
}, empty);