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 committed Jun 4, 2018
1 parent 668d42f commit 7879e14
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 7879e14

Please sign in to comment.