mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Fix function name (#4620)
This commit is contained in:
parent
7da164d386
commit
da842f113a
@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
|
|||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
|
|
||||||
import DeckGLContainer from './DeckGLContainer';
|
import DeckGLContainer from './DeckGLContainer';
|
||||||
import { getExploreUrl } from '../../javascripts/explore/exploreUtils';
|
import { getExploreLongUrl } from '../../javascripts/explore/exploreUtils';
|
||||||
import layerGenerators from './layers';
|
import layerGenerators from './layers';
|
||||||
|
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ function deckMulti(slice, payload, setControlValue) {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const url = getExploreUrl(subsliceCopy.form_data, 'json');
|
const url = getExploreLongUrl(subsliceCopy.form_data, 'json');
|
||||||
$.get(url, (data) => {
|
$.get(url, (data) => {
|
||||||
// Late import to avoid circular deps
|
// Late import to avoid circular deps
|
||||||
const layer = layerGenerators[subsliceCopy.form_data.viz_type](subsliceCopy.form_data, data);
|
const layer = layerGenerators[subsliceCopy.form_data.viz_type](subsliceCopy.form_data, data);
|
||||||
|
Loading…
Reference in New Issue
Block a user