Skip to content

Commit d75bd92

Browse files
committed
fix: storage groups
1 parent 044b80e commit d75bd92

File tree

1 file changed

+5
-1
lines changed
  • src/containers/Tenant/Diagnostics/TenantOverview/MetricsTabs

1 file changed

+5
-1
lines changed

src/containers/Tenant/Diagnostics/TenantOverview/MetricsTabs/MetricsTabs.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@ export function MetricsTabs({
127127
>
128128
<Link to={tabLinks.storage} className={b('link')}>
129129
<TabCard
130-
text={i18n('cards.storage-label')}
130+
text={
131+
storageGroupsCount === undefined
132+
? i18n('cards.storage-label')
133+
: i18n('context_storage-groups', {count: storageGroupsCount})
134+
}
131135
value={storageMetrics.totalUsed}
132136
limit={storageMetrics.totalLimit}
133137
legendFormatter={formatStorageLegend}

0 commit comments

Comments
 (0)