File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed
dashboard/components/gridComponents Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ export default class Chart extends React.Component {
299299 resultType : 'full' ,
300300 resultFormat : 'csv' ,
301301 force : true ,
302+ ownState : this . props . ownState ,
302303 } ) ;
303304 }
304305
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export const ExploreChartHeader = ({
6565 slice,
6666 actions,
6767 formData,
68+ ownState,
6869 chart,
6970 user,
7071 canOverwrite,
@@ -138,6 +139,7 @@ export const ExploreChartHeader = ({
138139 slice ,
139140 actions . redirectSQLLab ,
140141 openPropertiesModal ,
142+ ownState ,
141143 ) ;
142144
143145 const oldSliceName = slice ?. slice_name ;
Original file line number Diff line number Diff line change @@ -521,6 +521,7 @@ function ExploreViewContainer(props) {
521521 table_name = { props . table_name }
522522 formData = { props . form_data }
523523 chart = { props . chart }
524+ ownState = { props . ownState }
524525 user = { props . user }
525526 reports = { props . reports }
526527 onSaveChart = { toggleModal }
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ export const useExploreAdditionalActionsMenu = (
9595 slice ,
9696 onOpenInEditor ,
9797 onOpenPropertiesModal ,
98+ ownState ,
9899) => {
99100 const theme = useTheme ( ) ;
100101 const { addDangerToast, addSuccessToast } = useToasts ( ) ;
@@ -132,6 +133,7 @@ export const useExploreAdditionalActionsMenu = (
132133 canDownloadCSV
133134 ? exportChart ( {
134135 formData : latestQueryFormData ,
136+ ownState,
135137 resultType : 'full' ,
136138 resultFormat : 'csv' ,
137139 } )
You can’t perform that action at this time.
0 commit comments