issue #480 workaround (#484)

* only load annotation var names

* remove incorrect usage of var annotation data

* temporary workaround for issue #480

* lint

* issue warnings only once per item
This commit is contained in:
Bruce Martin
2018-11-29 16:33:21 -08:00
committed by GitHub
parent a83ec60308
commit af0d1f6fb2
3 changed files with 55 additions and 2 deletions
@@ -27,7 +27,9 @@ const renderGene = (fuzzySortResult, { handleClick, modifiers, query }) => {
<MenuItem
active={modifiers.active}
disabled={modifiers.disabled}
label={gene.n_counts}
// Use of annotations in this way is incorrect and dataset specific.
// See https://github.com/chanzuckerberg/cellxgene/issues/483
// label={gene.n_counts}
key={gene.name}
onClick={g => {
/* this fires when user clicks a menu item */