Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix logic #2937

Benjamin King9f1115cd91fb
diff --git a/web/js/modules/product-picker/format-config.js b/web/js/modules/product-picker/format-config.js
index ca1d105c8..a7c093a76 100644
--- a/web/js/modules/product-picker/format-config.js
+++ b/web/js/modules/product-picker/format-config.js
@@ -123,7 +123,7 @@ export default function buildLayerFacetProps(config, selectedDate) {
return lodashMap(layers, (layer) => {
setCoverageFacetProp(layer, selectedDate);
setLayerPeriodFacetProps(layer);
- if (layer.daynight && layer.daynight.length && layer.daynight.map) {
+ if (layer.daynight && layer.daynight.length) {
if (typeof layer.daynight === 'string') {
layer.daynight = [layer.daynight];
}