File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function TableHeaderRow({
39
39
return (
40
40
< HeaderRow { ...rowProps } style = { style } >
41
41
{ row . map ( ( cell , i ) => {
42
- const { column, ...cellProps } = cell ;
42
+ const { column, isLast , ...cellProps } = cell ;
43
43
const customProps = column . onHeaderCell ? column . onHeaderCell ( column ) : { } ;
44
44
if ( column . align ) {
45
45
customProps . style = { ...customProps . style , textAlign : column . align } ;
@@ -48,7 +48,7 @@ function TableHeaderRow({
48
48
[ `${ prefixCls } -align-${ column . align } ` ] : ! ! column . align ,
49
49
[ `${ prefixCls } -row-cell-ellipsis` ] : ! ! column . ellipsis ,
50
50
[ `${ prefixCls } -row-cell-break-word` ] : ! ! column . width ,
51
- [ `${ prefixCls } -row-cell-last` ] : cell . isLast ,
51
+ [ `${ prefixCls } -row-cell-last` ] : isLast ,
52
52
} ) ;
53
53
return (
54
54
< HeaderCell { ...cellProps } { ...customProps } key = { column . key || column . dataIndex || i } />
You can’t perform that action at this time.
0 commit comments