do not reset color scale when dismissing scatterplot (#637)

This commit is contained in:
Bruce Martin
2019-03-12 10:49:01 -07:00
committed by GitHub
parent caaee7e9bf
commit 80969012c9

View File

@@ -345,14 +345,11 @@ class Scatterplot extends React.Component {
<Button
type="button"
minimal
onClick={() => {
onClick={() =>
dispatch({
type: "clear scatterplot"
});
dispatch({
type: "reset colorscale"
});
}}
})
}
>
remove
</Button>