Fix show columns only if visible
@@ -28,7 +28,7 @@ export default class ScatterPlot extends React.Component {
return this.props.tools.map((runset, i) => {
return <optgroup key={"runset"+i} label={this.props.getRunSets(runset, i)}>
{runset.columns.map((column, j) => {
- return <option key={i+column.title} value={i+"-"+j} name={column.title}>{column.title}</option>
+ return column.isVisible ? <option key={i+column.title} value={i+"-"+j} name={column.title}>{column.title}</option> : null
})}
</optgroup>
})
