File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
frontend/src/components/Brokers/BrokersList Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,13 @@ export const Skew = ({ getValue }: ScewProps) => {
7575
7676type OnlinePartitionsProps = CellContext <
7777 BrokersTableRow ,
78- BrokersTableRow [ 'onlinePartitionCount ' ]
78+ BrokersTableRow [ 'inSyncPartitions ' ]
7979> ;
8080
8181export const OnlinePartitions = ( { row } : OnlinePartitionsProps ) => {
8282 const { count, inSyncPartitions } = row . original ;
8383
84- if (
85- count === undefined ||
86- inSyncPartitions === undefined
87- ) {
84+ if ( count === undefined || inSyncPartitions === undefined ) {
8885 return null ;
8986 }
9087
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const getBrokersTableColumns = () => {
6969 header : 'Leader skew' ,
7070 cell : Cell . Skew ,
7171 } ) ,
72- columnHelper . accessor ( 'onlinePartitionCount ' , {
72+ columnHelper . accessor ( 'inSyncPartitions ' , {
7373 header : 'Online partitions' ,
7474 cell : Cell . OnlinePartitions ,
7575 } ) ,
You can’t perform that action at this time.
0 commit comments