Skip to content

Commit 2271535

Browse files
fix(TableInfo): format partitions count (#704)
1 parent 44936ce commit 2271535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/containers/Tenant/Diagnostics/Overview/TableInfo/prepareTableInfo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ const prepareTableGeneralInfo = (PartitionConfig: TPartitionConfig, TTLSettings?
100100
{label: 'Partitioning by load', value: partitioningByLoad},
101101
{
102102
label: 'Min number of partitions',
103-
value: PartitioningPolicy.MinPartitionsCount || 0,
103+
value: formatNumber(PartitioningPolicy.MinPartitionsCount || 0),
104104
},
105105
);
106106

107107
if (PartitioningPolicy.MaxPartitionsCount) {
108108
generalTableInfo.push({
109109
label: 'Max number of partitions',
110-
value: PartitioningPolicy.MaxPartitionsCount || 0,
110+
value: formatNumber(PartitioningPolicy.MaxPartitionsCount),
111111
});
112112
}
113113

0 commit comments

Comments
 (0)