@gpa-gemstone/react-table 1.2.118 → 1.2.119
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/lib/Table/Header.js +2 -2
- package/package.json +2 -2
package/lib/Table/Header.js
CHANGED
|
@@ -193,8 +193,8 @@ const Header = (props) => {
|
|
|
193
193
|
let cursor = undefined;
|
|
194
194
|
if (((_c = (_b = element.props) === null || _b === void 0 ? void 0 : _b.HeaderStyle) === null || _c === void 0 ? void 0 : _c.cursor) != null)
|
|
195
195
|
cursor = element.props.HeaderStyle.cursor;
|
|
196
|
-
else
|
|
197
|
-
cursor = 'pointer';
|
|
196
|
+
else
|
|
197
|
+
cursor = ((_e = (_d = element.props) === null || _d === void 0 ? void 0 : _d.AllowSort) !== null && _e !== void 0 ? _e : true) ? 'pointer' : 'default';
|
|
198
198
|
const style = Object.assign(Object.assign(Object.assign({}, defaultDataHeadStyle), (_f = element.props) === null || _f === void 0 ? void 0 : _f.HeaderStyle), { width: currentWidth, cursor: cursor });
|
|
199
199
|
let startAdjustment;
|
|
200
200
|
if (IsColumnAdjustable(element.props))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpa-gemstone/react-table",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.119",
|
|
4
4
|
"description": "Table for GPA web applications",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@gpa-gemstone/gpa-symbols": "0.0.65",
|
|
49
49
|
"@gpa-gemstone/helper-functions": "0.0.61",
|
|
50
|
-
"@gpa-gemstone/react-interactive": "1.0.
|
|
50
|
+
"@gpa-gemstone/react-interactive": "1.0.195",
|
|
51
51
|
"lodash": "^4.17.21",
|
|
52
52
|
"react-portal": "4.2.2"
|
|
53
53
|
},
|