Skip to content

Commit

Permalink
Fix country_map visualization URL (apache#4913)
Browse files Browse the repository at this point in the history
When moving the visualizations/ folder to src/ I missed this reference.

(cherry picked from commit 8c94e1f)
  • Loading branch information
mistercrunch authored and hughhhh committed May 16, 2018
1 parent 61e9ef2 commit b07a431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/visualizations/country_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function countryMapChart(slice, payload) {
.attr('x', 20)
.attr('y', 60);

const url = `/static/assets/visualizations/countries/${fd.select_country.toLowerCase()}.geojson`;
const url = `/static/assets/src/visualizations/countries/${fd.select_country.toLowerCase()}.geojson`;
d3.json(url, function (error, mapData) {
const features = mapData.features;
const center = d3.geo.centroid(mapData);
Expand Down

0 comments on commit b07a431

Please sign in to comment.