@@ -38,19 +38,38 @@ const Dashboard: React.FC = () => {
3838 const columns = React . useMemo < ColumnDef < Cluster > [ ] > ( ( ) => {
3939 const initialColumns : ColumnDef < Cluster > [ ] = [
4040 { header : 'Cluster name' , accessorKey : 'name' , cell : ClusterName } ,
41- { header : 'Version' , accessorKey : 'version' } ,
42- { header : 'Brokers count' , accessorKey : 'brokerCount' } ,
43- { header : 'Partitions' , accessorKey : 'onlinePartitionCount' } ,
44- { header : 'Topics' , accessorKey : 'topicCount' } ,
45- { header : 'Production' , accessorKey : 'bytesInPerSec' , cell : SizeCell } ,
46- { header : 'Consumption' , accessorKey : 'bytesOutPerSec' , cell : SizeCell } ,
41+ { header : 'Version' , accessorKey : 'version' , size : 100 } ,
42+ {
43+ header : 'Brokers count' ,
44+ accessorKey : 'brokerCount' ,
45+ size : 120 ,
46+ } ,
47+ {
48+ header : 'Partitions' ,
49+ accessorKey : 'onlinePartitionCount' ,
50+ size : 100 ,
51+ } ,
52+ { header : 'Topics' , accessorKey : 'topicCount' , size : 80 } ,
53+ {
54+ header : 'Production' ,
55+ accessorKey : 'bytesInPerSec' ,
56+ cell : SizeCell ,
57+ size : 100 ,
58+ } ,
59+ {
60+ header : 'Consumption' ,
61+ accessorKey : 'bytesOutPerSec' ,
62+ cell : SizeCell ,
63+ size : 116 ,
64+ } ,
4765 ] ;
4866
4967 if ( appInfo . hasDynamicConfig ) {
5068 initialColumns . push ( {
5169 header : '' ,
5270 id : 'actions' ,
5371 cell : ClusterTableActionsCell ,
72+ size : 140 ,
5473 } ) ;
5574 }
5675
0 commit comments