File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @netdata/netdata-ui" ,
3- "version" : " 5.0.54 " ,
3+ "version" : " 5.0.55 " ,
44 "description" : " netdata UI kit" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/es6/index.js" ,
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ const rerenderSelector = state => ({
6262 expanded : state . expanded ,
6363 columnVisibility : state . columnVisibility ,
6464 selectedRows : state . selectedRows ,
65+ allColumns : state . allColumns ?. length ,
6566} )
6667
6768const StyledRow = styled ( Flex ) `
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ const Table = memo(props => {
227227
228228 useLayoutEffect ( ( ) => {
229229 const state = table . getState ( )
230+
230231 dispatchThrottled ( {
231232 sorting : state . sorting ,
232233 columnSizing : state . columnSizing ,
@@ -236,7 +237,7 @@ const Table = memo(props => {
236237 columnSizingInfo : state . columnSizingInfo ,
237238 rowsById : table . getRowModel ( ) . rowsById ,
238239 selectedRows : table . getSelectedRowModel ( ) . flatRows ,
239- allColumns : table ?. getAllColumns ?. ( ) ,
240+ allColumns : table ?. getAllLeafColumns ?. ( ) ,
240241 } )
241242 } , [ table . getState ( ) ] )
242243
You can’t perform that action at this time.
0 commit comments