@gpa-gemstone/react-table 1.2.71 → 1.2.73
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.
|
@@ -91,7 +91,7 @@ function ConfigurableTable(props) {
|
|
|
91
91
|
currentKeys = currentKeys.filter((k) => !allKeys.includes(k));
|
|
92
92
|
const enabled = allKeys.filter((k) => { var _a; return (_a = columns.get(k)) === null || _a === void 0 ? void 0 : _a.Enabled; });
|
|
93
93
|
currentKeys.push(...enabled);
|
|
94
|
-
localStorage.setItem(props.LocalStorageKey, currentKeys.join(','));
|
|
94
|
+
(currentKeys.length == 0 && currentState == null) ? null : localStorage.setItem(props.LocalStorageKey, currentKeys.join(','));
|
|
95
95
|
}
|
|
96
96
|
function changeColumns(key) {
|
|
97
97
|
setColumns((d) => {
|
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.73",
|
|
4
4
|
"description": "Table for GPA web applications",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"typescript": "5.5.3"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@gpa-gemstone/gpa-symbols": "0.0.
|
|
47
|
-
"@gpa-gemstone/helper-functions": "0.0.
|
|
48
|
-
"@gpa-gemstone/react-interactive": "1.0.
|
|
46
|
+
"@gpa-gemstone/gpa-symbols": "0.0.51",
|
|
47
|
+
"@gpa-gemstone/helper-functions": "0.0.41",
|
|
48
|
+
"@gpa-gemstone/react-interactive": "1.0.151",
|
|
49
49
|
"@types/lodash": "^4.14.171",
|
|
50
50
|
"@types/react": "^17.0.14",
|
|
51
51
|
"lodash": "^4.17.21",
|