File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/store/reducers/tenants Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ export const calculateTenantMetrics = (tenant?: TTenant) => {
3838 const cpu = cpuFromCores ?? cpuFromMetrics ?? undefined ;
3939
4040 const rawMemory = MemoryUsed ?? Metrics . Memory ;
41- const rawStorage = StorageAllocatedSize ?? Metrics . Storage ;
4241
4342 const memory = isNumeric ( rawMemory ) ? Number ( rawMemory ) : undefined ;
44- const storage = isNumeric ( rawStorage ) ? Number ( rawStorage ) : undefined ;
4543
44+ // Blob storage - actual database size
45+ const storage = isNumeric ( StorageAllocatedSize ) ? Number ( StorageAllocatedSize ) : undefined ;
4646 const cpuLimit = isNumeric ( CoresLimit ) ? Number ( CoresLimit ) : undefined ;
4747 const memoryLimit = isNumeric ( MemoryLimit ) ? Number ( MemoryLimit ) : undefined ;
4848 const storageLimit = isNumeric ( StorageLimit ) ? Number ( StorageLimit ) : undefined ;
You can’t perform that action at this time.
0 commit comments