Add autocomplete

This commit is contained in:
Colin Megill
2018-01-20 00:22:29 -08:00
parent e5253d2ee0
commit 11f6ee7799
3 changed files with 34 additions and 5 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ import _ from "lodash";
const Controls = (state = {
_ranges: null, /* this comes from initialize, this is universe */
allGeneNames: null,
allCellsOnClient: null, /* this comes from cells endpoint, this is world */
currentCellSelection: null, /* this comes from user actions, all draw components use this, it is created by middleware */
graphMap: null,
@@ -21,7 +22,8 @@ const Controls = (state = {
***********************************/
case "initialize success":
return Object.assign({}, state, {
_ranges: action.data.data.ranges
_ranges: action.data.data.ranges,
allGeneNames: action.data.data.genes
});
case "request cells success":
const graphMap = {};