mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 21:48:11 +08:00
select only this categorical filter
This commit is contained in:
Vendored
+6
-1
@@ -3,7 +3,7 @@ import _ from "lodash";
|
||||
const Controls = (state = {
|
||||
_ranges: null, /* this comes from initialize, this is universe */
|
||||
allCellsOnClient: null, /* this comes from cells endpoint, this is world */
|
||||
currentCellSelection: null, /* this comes from user actions, this is current cell selection */
|
||||
currentCellSelection: null, /* this comes from user actions, all draw components use this, it is created by middleware */
|
||||
graphMap: null,
|
||||
categoricalAsBooleansMap: null,
|
||||
colorAccessor: null,
|
||||
@@ -89,6 +89,11 @@ const Controls = (state = {
|
||||
categoricalAsBooleansMap: action.newCategoricalAsBooleansMap, /* this comes from middleware */
|
||||
currentCellSelection: action.newSelection /* this comes from middleware */
|
||||
})
|
||||
case "categorical metadata filter only this":
|
||||
return Object.assign({}, state, {
|
||||
categoricalAsBooleansMap: action.newCategoricalAsBooleansMap, /* this comes from middleware */
|
||||
currentCellSelection: action.newSelection /* this comes from middleware */
|
||||
})
|
||||
/*******************************
|
||||
Color Scale
|
||||
*******************************/
|
||||
|
||||
Reference in New Issue
Block a user