Skip to content

Commit 28a9936

Browse files
fix(ClusterInfo): add Databases field (#474)
1 parent d2e43d4 commit 28a9936

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/containers/Cluster/ClusterInfo/ClusterInfo.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ const getInfo = (
5757
});
5858
}
5959

60+
if (cluster.Tenants) {
61+
info.push({
62+
label: 'Databases',
63+
value: cluster.Tenants,
64+
});
65+
}
66+
6067
info.push(
6168
{
6269
label: 'Nodes',

src/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface ClusterInfoSkeletonProps {
1818
rows?: number;
1919
}
2020

21-
export const ClusterInfoSkeleton = ({rows = 6, className}: ClusterInfoSkeletonProps) => (
21+
export const ClusterInfoSkeleton = ({rows = 7, className}: ClusterInfoSkeletonProps) => (
2222
<div className={b(null, className)}>
2323
{[...new Array(rows)].map((_, index) => (
2424
<div className={b('row')} key={`skeleton-row-${index}`}>

0 commit comments

Comments
 (0)