fix bulk add failing on first gene in world (#954)

This commit is contained in:
Severiano Badajoz
2019-09-30 15:21:21 -07:00
committed by GitHub
parent 44cb276cdf
commit d94508d534
@@ -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)]