Interactive interface for browsing global, full-resolution satellite imagery
fix e2e
Jason Kentb2ad7525ea12
diff --git a/e2e/features/smart-handoff/smart-handoff-test.js b/e2e/features/smart-handoff/smart-handoff-test.jsindex 8a579719a..3957ad0b3 100644--- a/e2e/features/smart-handoff/smart-handoff-test.js+++ b/e2e/features/smart-handoff/smart-handoff-test.js@@ -100,7 +100,7 @@ module.exports = {c.useCss().assert.cssClassPresent(downloadButton, 'wv-disabled');c.waitForElementVisible('#data-download-unavailable-dateline-alert', TIME_LIMIT, () => {c.assert.containsText('#data-download-unavailable-dateline-alert div.wv-alert-message',- 'The map is zoomed into an area that crossed the dateline and is outside of the available map in data mode. Download is disabled. Zoom out to see available map.');+ 'The map is zoomed into an area with no available data.');});},diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.jsindex 25f350f86..efc363137 100644--- a/web/js/containers/sidebar/smart-handoff.js+++ b/web/js/containers/sidebar/smart-handoff.js@@ -531,7 +531,7 @@ class SmartHandoff extends Component {if (!isActive) return null;// Determine if the download button is enabled- const validSelection = showBoundingBox ? !selectionOutsideExtents && !showZoomedIntoDatelineAlert : true;+ const validSelection = showBoundingBox ? !selectionOutsideExtents && !showZoomedIntoDatelineAlert : !showZoomedIntoDatelineAlert;const isValidDownload = selectedLayer && selectedLayer.id && validSelection;if (!validatedLayers.length) {