Interactive interface for browsing global, full-resolution satellite imagery
Add search back button when searching in polar proj #1469
Benjamin King30e872f929f3
diff --git a/web/js/components/layer/header.js b/web/js/components/layer/header.jsindex 81f16580d..2d29d28d3 100644--- a/web/js/components/layer/header.js+++ b/web/js/components/layer/header.js@@ -41,6 +41,7 @@ class ProductPickerHeader extends React.Component {!modalView &&selectedProjection === 'geographic' &&listType !== 'category';+ const isSearching = listType === 'search';return (<InputGroup id="layer-search" className="layer-search">{isBreadCrumb ? (@@ -70,6 +71,14 @@ class ProductPickerHeader extends React.Component {</BreadcrumbItem></Breadcrumb></React.Fragment>+ ) : isSearching ? (+ <Button+ className="back-button"+ color="secondary"+ onClick={this.revertToInitialScreen.bind(this)}+ >+ <i className="fa fa-arrow-left" />{' '}+ </Button>) : ('')}