mirror of
https://github.com/gosticks/react-table.git
synced 2026-07-02 02:20:06 +00:00
fix: disableSorting in column config level (#1434)
This commit is contained in:
@@ -173,7 +173,7 @@ function useMain(instance) {
|
||||
|
||||
const canSort = accessor
|
||||
? getFirstDefined(
|
||||
columnDisableSorting,
|
||||
columnDisableSorting === true ? false : undefined,
|
||||
disableSorting === true ? false : undefined,
|
||||
true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user