mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
fix: disableSorting in column config level (#1434)
This commit is contained in:
parent
3cbb49fc37
commit
1e80dd85d6
@ -173,7 +173,7 @@ function useMain(instance) {
|
||||
|
||||
const canSort = accessor
|
||||
? getFirstDefined(
|
||||
columnDisableSorting,
|
||||
columnDisableSorting === true ? false : undefined,
|
||||
disableSorting === true ? false : undefined,
|
||||
true
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user