mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 10:58: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);
|
||||
|
||||
if (!indexOfGene) {
|
||||
if (indexOfGene === undefined) {
|
||||
return keepAroundErrorToast(
|
||||
`${
|
||||
genes[upperGenes.get(upperGene)]
|
||||
|
||||
Reference in New Issue
Block a user