mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-19 19:08:11 +08:00
deselect in reducer
This commit is contained in:
4
src/reducers/controls.js
vendored
4
src/reducers/controls.js
vendored
@@ -17,6 +17,10 @@ const Controls = (state = {
|
||||
return Object.assign({}, state, {
|
||||
graphBrushSelection: action.brushCoords
|
||||
})
|
||||
case "graph brush deselect":
|
||||
return Object.assign({}, state, {
|
||||
graphBrushSelection: null
|
||||
})
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user