superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Fix country_map visualization URL (#4913)
Date Tue, 01 May 2018 15:50:50 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c94e1f  Fix country_map visualization URL (#4913)
8c94e1f is described below

commit 8c94e1f710dcdea03c3e1f04c42439f1b4127fa0
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Tue May 1 08:50:47 2018 -0700

    Fix country_map visualization URL (#4913)
    
    When moving the visualizations/ folder to src/ I missed this reference.
---
 superset/assets/src/visualizations/country_map.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/country_map.js b/superset/assets/src/visualizations/country_map.js
index a5ab3c4..09d325d 100644
--- a/superset/assets/src/visualizations/country_map.js
+++ b/superset/assets/src/visualizations/country_map.js
@@ -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);

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.

Mime
View raw message