@desynova-digital/components 8.19.7 → 8.19.8

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.
@@ -770,7 +770,7 @@ var Table = function (_Component) {
770
770
  });
771
771
  var commonActions = this.findCommon(this.state.items);
772
772
  var commonDisplayActions = commonActions.filter(function (value) {
773
- return _this2.props.dashboard_common_actions_2.includes(value);
773
+ return _this2.props.dashboard_common_actions.includes(value);
774
774
  });
775
775
  var n = this.state.items.length;
776
776
  var numberArray = [];
@@ -797,8 +797,8 @@ var Table = function (_Component) {
797
797
  this.execute(true);
798
798
  } else {
799
799
  var _props = this.props,
800
- dashboard_common_actions_2 = _props.dashboard_common_actions_2,
801
- dashboard_common_actions = _props.dashboard_common_actions;
800
+ dashboard_common_actions = _props.dashboard_common_actions,
801
+ common_actions = _props.common_actions;
802
802
 
803
803
  var table = e.target.closest("table");
804
804
  var checkboxNodes = table.querySelectorAll('thead tr th input[type="checkbox"]');
@@ -819,14 +819,13 @@ var Table = function (_Component) {
819
819
  /**
820
820
  * finalAns is an array of all selected asset items common Actions
821
821
  */
822
- console.log(dashboard_common_actions_2);
823
822
  var finalAns = this.findCommon(selected_row_items);
824
823
  if (finalAns.length != 0) {
825
- var intersectionDashboardCommonActions = dashboard_common_actions.filter(function (item) {
824
+ var intersectionDashboardCommonActions = common_actions.filter(function (item) {
826
825
  return finalAns.includes(item);
827
826
  });
828
827
  var commonActions = intersectionDashboardCommonActions.filter(function (value) {
829
- return dashboard_common_actions_2.includes(value);
828
+ return dashboard_common_actions.includes(value);
830
829
  });
831
830
  this.setState({ commonActionsSelected: commonActions, ingestedDbIdArray: arrayIngestDbId });
832
831
  } else {
@@ -865,11 +864,11 @@ var Table = function (_Component) {
865
864
  var _finalAns = this.findCommon(_selected_row_items);
866
865
 
867
866
  if (_finalAns.length != 0) {
868
- var _intersectionDashboardCommonActions = dashboard_common_actions.filter(function (item) {
867
+ var _intersectionDashboardCommonActions = common_actions.filter(function (item) {
869
868
  return _finalAns.includes(item);
870
869
  });
871
870
  var _commonActions = _intersectionDashboardCommonActions.filter(function (value) {
872
- return dashboard_common_actions_2.includes(value);
871
+ return dashboard_common_actions.includes(value);
873
872
  });
874
873
  this.setState({ commonActionsSelected: _commonActions, ingestedDbIdArray: _arrayIngestDbId });
875
874
  } else {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.19.7",
3
+ "version": "8.19.8",
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": "8.19.7",
10
+ "@desynova-digital/tokens": "8.19.8",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },