fix: revert data endpoint name (#16162)

This commit is contained in:
Beto Dealmeida
2021-08-10 11:59:27 -07:00
committed by GitHub
parent 3f86a54ac1
commit 7b3fce7e81
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,