mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
[hotfix] load selectors in render
This commit is contained in:
@@ -4,9 +4,9 @@ import cloudLayout from 'd3-cloud';
|
||||
import { category21 } from '../javascripts/modules/colors';
|
||||
|
||||
function wordCloudChart(slice) {
|
||||
const chart = d3.select(slice.selector);
|
||||
|
||||
function refresh() {
|
||||
const chart = d3.select(slice.selector);
|
||||
d3.json(slice.jsonEndpoint(), function (error, json) {
|
||||
if (error !== null) {
|
||||
slice.error(error.responseText, error);
|
||||
|
||||
Reference in New Issue
Block a user