From 7a284bb9e8ecf9fc39eb18968742302e55f9d805 Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Tue, 17 Aug 2021 16:39:27 -0700 Subject: [PATCH] fix: allow reports to update query_context (#16303) --- superset-frontend/src/explore/components/ExploreChartPanel.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/components/ExploreChartPanel.jsx b/superset-frontend/src/explore/components/ExploreChartPanel.jsx index 82cc0b9fd8..bd2213f131 100644 --- a/superset-frontend/src/explore/components/ExploreChartPanel.jsx +++ b/superset-frontend/src/explore/components/ExploreChartPanel.jsx @@ -132,7 +132,7 @@ const ExploreChartPanel = props => { const { slice } = props; const updateQueryContext = useCallback( async function fetchChartData() { - if (props.can_overwrite && slice && slice.query_context === null) { + if (slice && slice.query_context === null) { const queryContext = buildV1ChartDataPayload({ formData: slice.form_data, force: false,