File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/containers/Tenant/Diagnostics/TenantOverview/MetricsTabs Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,9 @@ export function MetricsTabs({
100100 const storageStats = tabletStorageStats || blobStorageStats || [ ] ;
101101 const storageMetrics = calculateMetricAggregates ( storageStats ) ;
102102
103- // Get correct storage groups count from API (only if groups handler available)
104- const storageGroupCount = groupsHandlerAvailable ? ( storageGroupsData ?. total ?? 0 ) : undefined ;
103+ // Get correct storage groups count from API (only if groups handler available and data is loaded)
104+ const storageGroupCount =
105+ groupsHandlerAvailable && storageGroupsData ? storageGroupsData . total : undefined ;
105106
106107 // Calculate memory metrics using utility
107108 const memoryMetrics = calculateMetricAggregates ( memoryStats ) ;
You can’t perform that action at this time.
0 commit comments