diff --git a/client/src/pages/databases/tree/index.tsx b/client/src/pages/databases/tree/index.tsx index 544c231c..9c8d8b03 100644 --- a/client/src/pages/databases/tree/index.tsx +++ b/client/src/pages/databases/tree/index.tsx @@ -57,12 +57,10 @@ const CollectionNode: React.FC<{ data: CollectionObject }> = ({ data }) => { return (
-
- - - {data.collection_name} - - +
+ + {data.collection_name} + ({formatNumber(data.rowCount || 0)}) @@ -222,12 +220,11 @@ const DatabaseTree: React.FC = props => { - - {tree.name} - - + + {tree.name} + } className={classes.treeItem} slots={{