This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 7a284bb fix: allow reports to update query_context (#16303)
7a284bb is described below
commit 7a284bb9e8ecf9fc39eb18968742302e55f9d805
Author: Beto Dealmeida <[email protected]>
AuthorDate: Tue Aug 17 16:39:27 2021 -0700
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 82cc0b9..bd2213f 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,