@patternfly/react-table 4.38.4 → 4.39.0

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.
@@ -7072,7 +7072,7 @@
7072
7072
  function sortClicked(event) {
7073
7073
  let reversedDirection;
7074
7074
  if (!isSortedBy) {
7075
- reversedDirection = exports.SortByDirection.asc;
7075
+ reversedDirection = sortBy.defaultDirection ? sortBy.defaultDirection : exports.SortByDirection.asc;
7076
7076
  }
7077
7077
  else {
7078
7078
  reversedDirection = sortBy.direction === exports.SortByDirection.asc ? exports.SortByDirection.desc : exports.SortByDirection.asc;