versacall-core-library-react 2.0.63 → 2.0.64
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.
|
@@ -245,6 +245,7 @@ var CoreTable = /*#__PURE__*/function (_Component) {
|
|
|
245
245
|
}, {
|
|
246
246
|
key: "handleOnSort",
|
|
247
247
|
value: function handleOnSort(orderBy) {
|
|
248
|
+
console.log('orderBy', orderBy);
|
|
248
249
|
this.setState(function (prevState) {
|
|
249
250
|
var order = prevState.orderBy === orderBy && prevState.order === 'desc' ? 'asc' : 'desc';
|
|
250
251
|
return {
|
|
@@ -213,7 +213,7 @@ var CoreTableHead = /*#__PURE__*/function (_Component) {
|
|
|
213
213
|
direction: order,
|
|
214
214
|
active: orderBy === column.id,
|
|
215
215
|
onClick: function onClick() {
|
|
216
|
-
return sort && onSort(column.id);
|
|
216
|
+
return sort && column.label && column.label.length > 0 && onSort(column.id);
|
|
217
217
|
}
|
|
218
218
|
}, /*#__PURE__*/_react.default.createElement("b", null, column.label ? column.label : ''));
|
|
219
219
|
}
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"versacall": {
|
|
3
3
|
"title": "Versacall Core Library React",
|
|
4
4
|
"applicationType": "react-library",
|
|
5
|
-
"build":
|
|
5
|
+
"build": 64
|
|
6
6
|
},
|
|
7
7
|
"name": "versacall-core-library-react",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.64",
|
|
9
9
|
"description": "Versacall Core Library",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"module": "dist/index.js",
|