Skip to content

Commit abebaa1

Browse files
committed
Removed console.logs
1 parent 769e84c commit abebaa1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/widgets/LivelihoodZonesMap.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default {
171171
// Render legends if they are not yet visible after a moveend event
172172
window.MBL.map.on('moveend', function (e) {
173173
if ((that.selectedZone || (that.selectedRegion || that.selectedProvince))) {
174-
console.log(`---updating legends! length: ${that.legends.length}, zoom ${window.MBL.map.getZoom()}`)
174+
// console.log(`---updating legends! length: ${that.legends.length}, zoom ${window.MBL.map.getZoom()}`)
175175
that.updateLegend()
176176
that.showAllLegends()
177177
}
@@ -317,6 +317,7 @@ export default {
317317
}
318318
319319
colorCodes = (Array.from(features, (x) => x.properties['Legend_v2']).filter(unique)).sort()
320+
// console.log(`---legends: ${colorCodes.length}`)
320321
321322
for (let i = 0; i < colorCodes.length; i += 1) {
322323
this.legends.push({

0 commit comments

Comments
 (0)