@bento-core/table 1.0.1-ccdihub.59 → 1.0.1-ccdihub.60

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.
@@ -98,9 +98,11 @@ const DownloadButton = _ref => {
98
98
  }
99
99
  const downloadTableCSV = (0, _react.useCallback)(() => {
100
100
  downloadSCSVFile();
101
+ setListDisplay('none');
101
102
  }, [queryVariables, table]);
102
103
  const downloadTableJson = (0, _react.useCallback)(() => {
103
104
  downloadJsonFile();
105
+ setListDisplay('none');
104
106
  }, [queryVariables, table]);
105
107
  const handleClickButton = () => {
106
108
  if (listDisplay === 'none') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.59",
3
+ "version": "1.0.1-ccdihub.60",
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",
@@ -102,10 +102,12 @@ const DownloadButton = ({
102
102
 
103
103
  const downloadTableCSV = useCallback(() => {
104
104
  downloadSCSVFile();
105
+ setListDisplay('none');
105
106
  }, [queryVariables, table]);
106
107
 
107
108
  const downloadTableJson = useCallback(() => {
108
109
  downloadJsonFile();
110
+ setListDisplay('none');
109
111
  }, [queryVariables, table]);
110
112
 
111
113
  const handleClickButton = () => {