mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 17:28:11 +08:00
fix bulk add failing on first gene in world (#954)
This commit is contained in:
@@ -177,7 +177,7 @@ class GeneExpression extends React.Component {
|
|||||||
|
|
||||||
const indexOfGene = upperWorldGenes.get(upperGene);
|
const indexOfGene = upperWorldGenes.get(upperGene);
|
||||||
|
|
||||||
if (!indexOfGene) {
|
if (indexOfGene === undefined) {
|
||||||
return keepAroundErrorToast(
|
return keepAroundErrorToast(
|
||||||
`${
|
`${
|
||||||
genes[upperGenes.get(upperGene)]
|
genes[upperGenes.get(upperGene)]
|
||||||
|
|||||||
Reference in New Issue
Block a user