Skip to content

Commit

Permalink
fix: allow reports to update query_context (apache#16303)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored Aug 17, 2021
1 parent d5f63a7 commit 7a284bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a284bb

Please sign in to comment.