Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed Feb 26, 2022
2 parents 479b753 + 031a933 commit c13b88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default class MaterialTable extends React.Component {
(a) => a.defaultSort && a.sorting !== false
);
prevSortDirection =
prevSortColumnIndex > -1
prevSortColumnIndex > -1 && props.columns[prevSortColumnIndex]
? props.columns[prevSortColumnIndex].defaultSort
: '';
}
Expand Down

0 comments on commit c13b88a

Please sign in to comment.