Interactive interface for browsing global, full-resolution satellite imagery
give layer checkbox an ID
Jason Kent367554831b86
diff --git a/web/js/components/layer/product-picker/browse/measurement-layer-row.js b/web/js/components/layer/product-picker/browse/measurement-layer-row.jsindex 2d5121935..7c850cadf 100644--- a/web/js/components/layer/product-picker/browse/measurement-layer-row.js+++ b/web/js/components/layer/product-picker/browse/measurement-layer-row.js@@ -54,15 +54,16 @@ class MeasurementLayerRow extends React.Component {const listItemClass = !layerIsAvailable ? 'unavailable' : '';// Replace periods in id since period causes issue with tooltip targetingconst itemElementId = `checkbox-case-${layer.id.split('.').join('-')}`;+ const checkboxId = `${layer.id.split('.').join('-')}-checkbox`;return (<ListGroupItemkey={`${measurementId}-${layer.id}`}- onClick={this.onClick}id={itemElementId}className={listItemClass}><Checkbox+ id={checkboxId}name={title}onClick={this.onClick}checked={isEnabled}