@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.js CHANGED
@@ -35899,7 +35899,7 @@ var useTableSort = function useTableSort() {
35899
35899
  var history = useHistory();
35900
35900
  var handleTableChange = function handleTableChange(pagination, sorter) {
35901
35901
  var params = {
35902
- sort_by: sorter.order && camelToSnakeCase(sorter.field),
35902
+ sort_by: sorter.order ? camelToSnakeCase(sorter.field) : undefined,
35903
35903
  order_by: URL_SORT_ORDERS[sorter.order],
35904
35904
  page: pagination.current
35905
35905
  };