mirror of https://github.com/apache/superset.git
fix: allow reports to update query_context (#16303)
This commit is contained in:
parent
d5f63a74e4
commit
7a284bb9e8
|
@ -132,7 +132,7 @@ const ExploreChartPanel = props => {
|
||||||
const { slice } = props;
|
const { slice } = props;
|
||||||
const updateQueryContext = useCallback(
|
const updateQueryContext = useCallback(
|
||||||
async function fetchChartData() {
|
async function fetchChartData() {
|
||||||
if (props.can_overwrite && slice && slice.query_context === null) {
|
if (slice && slice.query_context === null) {
|
||||||
const queryContext = buildV1ChartDataPayload({
|
const queryContext = buildV1ChartDataPayload({
|
||||||
formData: slice.form_data,
|
formData: slice.form_data,
|
||||||
force: false,
|
force: false,
|
||||||
|
|
Loading…
Reference in New Issue