datastake-daf 0.6.255 → 0.6.256

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.
@@ -12721,7 +12721,7 @@ const useHeader = _ref => {
12721
12721
  }
12722
12722
  }];
12723
12723
  const actionButtons = onDownload && _actionButtons.length < 3 ? [..._actionButtons, ...(hasFilters ? filterButton : []), downloadButton] : [..._actionButtons, ...(hasFilters ? filterButton : [])];
12724
- const extraButtons = onDownload && _actionButtons.length >= 3 ? [..._extraButtons, ...(hasFilters ? filterButton : []), downloadButtonAction] : [..._extraButtons, ...(hasFilters ? filterButton : [])];
12724
+ const extraButtons = onDownload && _actionButtons.length >= 3 ? [..._extraButtons, downloadButtonAction] : [..._extraButtons];
12725
12725
  const mainCont = React.useRef();
12726
12726
  const buttonCont = React.useRef();
12727
12727
  const [mainContWidth, setMainContWidth] = React.useState(600);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.255",
3
+ "version": "0.6.256",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -90,11 +90,9 @@ export const useHeader = ({
90
90
 
91
91
  const extraButtons = onDownload && _actionButtons.length >= 3 ? [
92
92
  ..._extraButtons,
93
- ...(hasFilters ? filterButton : []),
94
93
  downloadButtonAction,
95
94
  ] : [
96
95
  ..._extraButtons,
97
- ...(hasFilters ? filterButton : [])
98
96
  ];
99
97
 
100
98
  const mainCont = useRef()