We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d77054a commit 749ef18Copy full SHA for 749ef18
app/assets/javascripts/map/views/LegendView.js
@@ -264,7 +264,7 @@ define([
264
265
getLayersByCategory: function(layers){
266
return _.groupBy(layers, function(layer){
267
- // Hack to keep the forest_clearing slug in layers which has to be analyzed but not grouped by them in the legend
+ // Hack to keep the forest_clearing slug in layers which have to be analyzed but not grouped by the said slug in the legend
268
if (layer.category_slug === 'forest_clearing' && !layer.is_forest_clearing) return 'forest_clearing_2';
269
return layer.category_slug;
270
})
0 commit comments