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) => {
75
75
76
76
type OnlinePartitionsProps = CellContext <
77
77
BrokersTableRow ,
78
- BrokersTableRow [ 'onlinePartitionCount ' ]
78
+ BrokersTableRow [ 'inSyncPartitions ' ]
79
79
> ;
80
80
81
81
export const OnlinePartitions = ( { row } : OnlinePartitionsProps ) => {
82
82
const { count, inSyncPartitions } = row . original ;
83
83
84
- if (
85
- count === undefined ||
86
- inSyncPartitions === undefined
87
- ) {
84
+ if ( count === undefined || inSyncPartitions === undefined ) {
88
85
return null ;
89
86
}
90
87
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const getBrokersTableColumns = () => {
69
69
header : 'Leader skew' ,
70
70
cell : Cell . Skew ,
71
71
} ) ,
72
- columnHelper . accessor ( 'onlinePartitionCount ' , {
72
+ columnHelper . accessor ( 'inSyncPartitions ' , {
73
73
header : 'Online partitions' ,
74
74
cell : Cell . OnlinePartitions ,
75
75
} ) ,
You can’t perform that action at this time.
0 commit comments