@desynova-digital/components 9.1.30 → 9.1.31

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.
@@ -1333,7 +1333,14 @@ var Table = /*#__PURE__*/function (_Component) {
1333
1333
  commonActionsSelected: [],
1334
1334
  selectedRows: []
1335
1335
  });
1336
- _this4.props.commonActionClickHandler(item, e, _this4.state.ingestedDbIdArray, "common-action");
1336
+ switch (item) {
1337
+ case 'restore':
1338
+ _this4.props.actionClickHandler('restoreCommon', _this4.state.ingestedDbIdArray);
1339
+ break;
1340
+ default:
1341
+ _this4.props.commonActionClickHandler(item, e, _this4.state.ingestedDbIdArray, "common-action");
1342
+ break;
1343
+ }
1337
1344
  } else {
1338
1345
  console.log("pass func as props named 'commonActionClickHandler'... receive args as actionItem name and event obj. ");
1339
1346
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "9.1.30",
3
+ "version": "9.1.31",
4
4
  "description": "Components for Desynova Digital",
5
5
  "main": "index.js",
6
6
  "author": "desynova-digital",
7
7
  "license": "MIT",
8
8
  "repository": "desynova-digital",
9
9
  "dependencies": {
10
- "@desynova-digital/tokens": "9.1.30",
10
+ "@desynova-digital/tokens": "9.1.31",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },