Interactive interface for browsing global, full-resolution satellite imagery
logging
Tom Cariellobf2ccff7d9ce
diff --git a/web/js/modules/palettes/actions.js b/web/js/modules/palettes/actions.jsindex bf4d10a97..931c2bb9e 100644--- a/web/js/modules/palettes/actions.js+++ b/web/js/modules/palettes/actions.js@@ -172,11 +172,14 @@ export function setToggledClassification(layerId, classIndex, index, groupName)state,);let hasDisabled = false;+ console.log('setToggledClassification');+ // if (Object.prototype.hasOwnProperty.call(newActivePalettesObj, layerId)) {newActivePalettesObj[layerId].maps.forEach((colorMap) => {if (colorMap.disabled && colorMap.disabled.length) {hasDisabled = true;}});+ // }// sometimes an active palette will be related to layers that we already removed during the// tour process. need to check if the layer is active to prevent errors when dispatchingconst getLayerIndex = () => {