mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix ResourceQuotaDetails quotas display bugs (#5909)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user