Skip to content

Commit

Permalink
Fix #5591: TreeTable remove 'custom' sort need (#5595)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Dec 13, 2023
1 parent b3b8af0 commit 7ceda37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/treetable/TreeTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export const TreeTable = React.forwardRef((inProps, ref) => {
const sortNodes = (data) => {
let value = [...data];

if (columnSortable.current && columnSortable.current === 'custom' && columnSortFunction.current) {
if (columnSortable.current && columnSortFunction.current) {
value = columnSortFunction.current({
data,
field: getSortField(),
Expand Down

0 comments on commit 7ceda37

Please sign in to comment.