@truedat/qx 6.5.2 → 6.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/qx",
3
- "version": "6.5.2",
3
+ "version": "6.5.4",
4
4
  "description": "Truedat Web Quality Experience package",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -35,7 +35,7 @@
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/react-hooks": "^8.0.1",
37
37
  "@testing-library/user-event": "^13.2.1",
38
- "@truedat/test": "6.5.2",
38
+ "@truedat/test": "6.5.4",
39
39
  "babel-jest": "^28.1.0",
40
40
  "babel-plugin-dynamic-import-node": "^2.3.3",
41
41
  "babel-plugin-lodash": "^3.3.4",
@@ -84,7 +84,7 @@
84
84
  ]
85
85
  },
86
86
  "dependencies": {
87
- "@truedat/core": "6.5.2",
87
+ "@truedat/core": "6.5.4",
88
88
  "prop-types": "^15.8.1",
89
89
  "react-hook-form": "^7.45.4",
90
90
  "react-intl": "^5.20.10",
@@ -97,5 +97,5 @@
97
97
  "react-dom": ">= 16.8.6 < 17",
98
98
  "semantic-ui-react": ">= 2.0.3 < 2.2"
99
99
  },
100
- "gitHead": "4e35f7cfa7562cdb15da70e2c74ceeaa458ad741"
100
+ "gitHead": "ca29de8f75c143bb950bb8c9fc8a4d96c97464fb"
101
101
  }
@@ -2,7 +2,6 @@ import _ from "lodash/fp";
2
2
  import React from "react";
3
3
  import PropTypes from "prop-types";
4
4
  import { Link } from "react-router-dom";
5
- import { sortColumn as sortHandler } from "@truedat/core/services/sort";
6
5
  import { useIntl, FormattedMessage } from "react-intl";
7
6
  import { Table, Header, Icon } from "semantic-ui-react";
8
7
  import { linkTo } from "@truedat/core/routes";
@@ -31,8 +30,7 @@ export default function QualityControlsTable() {
31
30
  loading,
32
31
  sortColumn,
33
32
  sortDirection,
34
- setSortColumn,
35
- setSortDirection,
33
+ handleSortSelection,
36
34
  } = useSearchContext();
37
35
  const { formatMessage } = useIntl();
38
36
 
@@ -103,14 +101,7 @@ export default function QualityControlsTable() {
103
101
  }
104
102
  className={_.path("sort.name")(column) ? "" : "disabled"}
105
103
  onClick={() =>
106
- sortHandler(
107
- column,
108
- () => {},
109
- setSortDirection,
110
- setSortColumn,
111
- sortDirection,
112
- sortColumn
113
- )
104
+ handleSortSelection(_.path("sort.name")(column))
114
105
  }
115
106
  />
116
107
  ))