Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Use default Projs if none in config

Benjamin Kinga2be6de0e6ef
diff --git a/web/js/containers/projection.js b/web/js/containers/projection.js
index d1b1cd19b..4c7f81f8e 100644
--- a/web/js/containers/projection.js
+++ b/web/js/containers/projection.js
@@ -62,7 +62,9 @@ class ProjectionList extends Component {
}
function mapStateToProps(state) {
const projArray = lodashGet(state, 'config.ui.projections');
- const projectionArray = getInfoArray(projArray) || DEFAULT_PROJ_ARRAY;
+ const projectionArray = projArray
+ ? getInfoArray(projArray)
+ : DEFAULT_PROJ_ARRAY;
return {
models: state.models,
config: state.config,