Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix layer-b bug

Benjamin King8fde1dc28a47
diff --git a/web/js/modules/compare/util.js b/web/js/modules/compare/util.js
index e6eadbacf..baf920f4a 100644
--- a/web/js/modules/compare/util.js
+++ b/web/js/modules/compare/util.js
@@ -18,6 +18,9 @@ export function mapLocationToCompareState(parameters, stateFromLocation) {
stateFromLocation = update(stateFromLocation, {
compare: { $set: initialCompareState }
});
+ stateFromLocation = update(stateFromLocation, {
+ layers: { hasSecondLayerGroup: { $set: false } }
+ });
}
return stateFromLocation;
}