fix: revert data endpoint name (#16162)

(cherry picked from commit 7b3fce7e81)
This commit is contained in:
Beto Dealmeida
2021-08-10 11:59:27 -07:00
committed by Ville Brofeldt
parent 3bf5852d67
commit 77415685ce
5 changed files with 32 additions and 32 deletions

View File

@@ -132,7 +132,7 @@ const ExploreChartPanel = props => {
const { slice } = props;
const updateQueryContext = useCallback(
async function fetchChartData() {
if (slice && slice.query_context === null) {
if (props.can_overwrite && slice && slice.query_context === null) {
const queryContext = buildV1ChartDataPayload({
formData: slice.form_data,
force: false,