@geotab/zenith 1.20.0-beta.3 → 1.20.0-beta.4

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.
@@ -20,7 +20,9 @@ const SortableHeaderCell = ({ columnName, isSortedBy, sortDirection, title, tool
20
20
  const [isFocused, setIsFocused] = (0, react_1.useState)(false);
21
21
  const isActive = isHovered || isFocused;
22
22
  const iconTitle = getSortButtonTitle(isActive
23
- ? sortDirection
23
+ ? sortDirection === columnSortDirection_1.ColumnSortDirection.Ascending
24
+ ? columnSortDirection_1.ColumnSortDirection.Descending
25
+ : columnSortDirection_1.ColumnSortDirection.Ascending
24
26
  : sortDirection === columnSortDirection_1.ColumnSortDirection.Ascending
25
27
  ? columnSortDirection_1.ColumnSortDirection.Descending
26
28
  : columnSortDirection_1.ColumnSortDirection.Ascending, tooltip, translate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geotab/zenith",
3
- "version": "1.20.0-beta.3",
3
+ "version": "1.20.0-beta.4",
4
4
  "description": "Zenith components library on React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",