diff --git a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx index 5cc8ba6d37f61..ea4d389fc7070 100644 --- a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx +++ b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx @@ -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);