Skip to content

Commit

Permalink
fix(export): charts CSV export is always a fullCSV export
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelCbd committed Dec 31, 2024
1 parent 2c54598 commit b7926f2
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,16 +376,13 @@ const Chart = props => {
],
);

const exportCSV = useCallback(
(isFullCSV = false) => {
exportTable('csv', isFullCSV);
},
[exportTable],
);
const exportCSV = useCallback(() => {
exportTable('csv', false);
}, [exportTable]);

const exportFullCSV = useCallback(() => {
exportCSV(true);
}, [exportCSV]);
exportTable('csv', true);
}, [exportTable]);

const exportPivotCSV = useCallback(() => {
exportTable('csv', false, true);
Expand Down

0 comments on commit b7926f2

Please sign in to comment.