We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbac947 commit ca6bb41Copy full SHA for ca6bb41
src/js/techreport/geoBreakdown.js
@@ -31,7 +31,8 @@ class GeoBreakdown {
31
fetchData() {
32
const technology = this.pageFilters.app.map(encodeURIComponent).join(',');
33
const rank = encodeURIComponent(this.pageFilters.rank || 'ALL');
34
- const url = `${Constants.apiBase}/geo-breakdown?technology=${technology}&rank=${rank}`;
+ const end = this.pageFilters.end ? `&end=${encodeURIComponent(this.pageFilters.end)}` : '';
35
+ const url = `${Constants.apiBase}/geo-breakdown?technology=${technology}&rank=${rank}${end}`;
36
37
fetch(url)
38
.then(r => r.json())
0 commit comments