@bento-core/table 1.0.1-ccdihub.111 → 1.0.1-ccdihub.112

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.
@@ -637,6 +637,7 @@ const CPIModal = _ref => {
637
637
  }))), /*#__PURE__*/_react.default.createElement(_core.Button, {
638
638
  style: viewInExploreButton,
639
639
  onClick: () => {
640
+ onClose();
640
641
  window.location.href = "/explore?p_id=".concat(participantId, "&dbgap_accession=").concat(studyId);
641
642
  },
642
643
  disableRipple: true
@@ -678,8 +679,8 @@ const CPIModal = _ref => {
678
679
  }, /*#__PURE__*/_react.default.createElement(_core.Button, {
679
680
  style: goToCartButton,
680
681
  onClick: () => {
682
+ onClose();
681
683
  window.location.href = '/fileCentricCart';
682
- setDropdownOpen(false);
683
684
  },
684
685
  disableRipple: true
685
686
  }, "GO TO CART"))))))), /*#__PURE__*/_react.default.createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.111",
3
+ "version": "1.0.1-ccdihub.112",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -681,6 +681,7 @@ const CPIModal = ({
681
681
  <Button
682
682
  style={viewInExploreButton}
683
683
  onClick={() => {
684
+ onClose();
684
685
  window.location.href = `/explore?p_id=${participantId}&dbgap_accession=${studyId}`;
685
686
  }}
686
687
  disableRipple
@@ -733,8 +734,8 @@ const CPIModal = ({
733
734
  <Button
734
735
  style={goToCartButton}
735
736
  onClick={() => {
737
+ onClose();
736
738
  window.location.href = '/fileCentricCart';
737
- setDropdownOpen(false);
738
739
  }}
739
740
  disableRipple
740
741
  >