@bigbinary/neetoui 6.2.5 → 6.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -35933,7 +35933,7 @@ var useTableSort = function useTableSort() {
35933
35933
  var history = reactRouterDom.useHistory();
35934
35934
  var handleTableChange = function handleTableChange(pagination, sorter) {
35935
35935
  var params = {
35936
- sort_by: sorter.order && neetoCist.camelToSnakeCase(sorter.field),
35936
+ sort_by: sorter.order ? neetoCist.camelToSnakeCase(sorter.field) : undefined,
35937
35937
  order_by: URL_SORT_ORDERS[sorter.order],
35938
35938
  page: pagination.current
35939
35939
  };