Skip to content

Commit

Permalink
fix #740
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Oct 1, 2016
1 parent 35d9d1e commit e75c7be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TableHeaderColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class TableHeaderColumn extends Component {
let defaultCaret;
const {
dataAlign,
dataField
headerAlign,
hidden,
sort,
Expand Down Expand Up @@ -101,7 +102,7 @@ class TableHeaderColumn extends Component {
}
let sortCaret = sort ? Util.renderReactSortCaret(sort) : defaultCaret;
if (caretRender) {
sortCaret = caretRender(sort);
sortCaret = caretRender(sort, dataField);
}
const classes = classSet(
typeof className === 'function' ? className() : className,
Expand Down

0 comments on commit e75c7be

Please sign in to comment.