Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

use ALL category when proj changes #1440 #1468

Benjamin King0e8cc3673de9
diff --git a/web/js/components/layer/product-picker.js b/web/js/components/layer/product-picker.js
index 52c20f6e1..6d407fbc2 100644
--- a/web/js/components/layer/product-picker.js
+++ b/web/js/components/layer/product-picker.js
@@ -237,7 +237,8 @@ class ProductPicker extends React.Component {
ProductPicker.defaultProps = {
listType: 'category',
- isOpen: false
+ isOpen: false,
+ category: null
};
ProductPicker.propTypes = {
listType: PropTypes.string,
diff --git a/web/js/layers/modal.js b/web/js/layers/modal.js
index bb6866d7d..dcb760a67 100644
--- a/web/js/layers/modal.js
+++ b/web/js/layers/modal.js
@@ -39,7 +39,8 @@ export function layersModal(models, ui, config) {
allLayers: allLayers,
filteredRows: allLayers,
listType: 'category',
- inputValue: ''
+ inputValue: '',
+ category: null
});
});