Interactive interface for browsing global, full-resolution satellite imagery
Remove start compare button in mobile #1755
Benjamin King502f86424ad9
diff --git a/web/js/containers/sidebar/footer-content.js b/web/js/containers/sidebar/footer-content.jsindex 4022af946..96a624912 100644--- a/web/js/containers/sidebar/footer-content.js+++ b/web/js/containers/sidebar/footer-content.js@@ -147,7 +147,7 @@ const mapDispatchToProps = dispatch => ({});function mapStateToProps(state, ownProps) {const { activeTab } = ownProps;- const { requestedEvents, config, layers, data, compare } = state;+ const { requestedEvents, config, layers, data, compare, browser } = state;const { showAll } = state.events;const { selectedGranules } = data;const events = lodashGet(requestedEvents, 'response');@@ -161,6 +161,7 @@ function mapStateToProps(state, ownProps) {activeTab,events,counts,+ isMobile: browser.lessThan.medium,dataSelectionSize,compareFeature: config.features.compare,isCompareActive: compare.active,