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