@bento-core/table 1.0.1-ccdihub.115 → 1.0.1-ccdihub.116

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.
@@ -641,7 +641,10 @@ const CPIModal = _ref => {
641
641
  className: classes.questionIcon
642
642
  }))), /*#__PURE__*/_react.default.createElement(_core.Button, {
643
643
  style: viewInExploreButton,
644
- onClick: () => navigation("/explore?p_id=".concat(participantId, "&dbgap_accession=").concat(studyId)),
644
+ onClick: () => {
645
+ onClose();
646
+ navigation("/explore?p_id=".concat(participantId, "&dbgap_accession=").concat(studyId));
647
+ },
645
648
  disableRipple: true
646
649
  }, "VIEW IN EXPLORE"), /*#__PURE__*/_react.default.createElement("div", {
647
650
  className: classes.dropdownContainer,
@@ -681,6 +684,7 @@ const CPIModal = _ref => {
681
684
  }, /*#__PURE__*/_react.default.createElement(_core.Button, {
682
685
  style: goToCartButton,
683
686
  onClick: () => {
687
+ onClose();
684
688
  setDropdownOpen(false);
685
689
  navigation('/fileCentricCart');
686
690
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.115",
3
+ "version": "1.0.1-ccdihub.116",
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",
@@ -685,7 +685,10 @@ const CPIModal = ({
685
685
 
686
686
  <Button
687
687
  style={viewInExploreButton}
688
- onClick={() => navigation(`/explore?p_id=${participantId}&dbgap_accession=${studyId}`)}
688
+ onClick={() => {
689
+ onClose();
690
+ navigation(`/explore?p_id=${participantId}&dbgap_accession=${studyId}`);
691
+ }}
689
692
  disableRipple
690
693
  >
691
694
  VIEW IN EXPLORE
@@ -736,6 +739,7 @@ const CPIModal = ({
736
739
  <Button
737
740
  style={goToCartButton}
738
741
  onClick={() => {
742
+ onClose();
739
743
  setDropdownOpen(false);
740
744
  navigation('/fileCentricCart');
741
745
  }}