fix: allow reports to update query_context (#16303)

This commit is contained in:
Beto Dealmeida 2021-08-17 16:39:27 -07:00 committed by GitHub
parent d5f63a74e4
commit 7a284bb9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,