Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Merge pull request #3193 from nasa-gibs/geosearch-1688

Ed Plato9a38ff68103d
diff --cc package-lock.json
index 197c93feb,85a866066..e65402a7a
--- a/package-lock.json
+++ b/package-lock.json
@@@ -10495,9 -10516,16 +10505,16 @@@
"dev": true,
"optional": true
},
+ "ini": {
+ "version": "1.3.5",
+ "resolved": false,
+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
+ "dev": true,
+ "optional": true
+ },
"is-fullwidth-code-point": {
"version": "1.0.0",
- "resolved": false,
+ "resolved": "",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true,
"optional": true,
diff --cc web/js/components/measure-tool/measure-button.js
index 7500446e2,b136d6621..434c8ba3b
--- a/web/js/components/measure-tool/measure-button.js
+++ b/web/js/components/measure-tool/measure-button.js
@@@ -96,9 -97,10 +97,10 @@@ class MeasureButton extends React.Compo
}
}
-const mapStateToProps = (state, ownProps) => ({
+const mapStateToProps = (state) => ({
isActive: state.measure.isActive,
isDistractionFreeModeActive: state.ui.isDistractionFreeModeActive,
+ isMobile: state.browser.lessThan.medium,
});
const mapDispatchToProps = (dispatch) => ({
openModal: (key, customParams) => {