Skip to content

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.js
index 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 targeting
const itemElementId = `checkbox-case-${layer.id.split('.').join('-')}`;
+ const checkboxId = `${layer.id.split('.').join('-')}-checkbox`;
return (
<ListGroupItem
key={`${measurementId}-${layer.id}`}
- onClick={this.onClick}
id={itemElementId}
className={listItemClass}
>
<Checkbox
+ id={checkboxId}
name={title}
onClick={this.onClick}
checked={isEnabled}