mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 23:48:12 +08:00
handle empty string case on genes for create geneset
This commit is contained in:
@@ -40,7 +40,9 @@ class CreateGenesetDialogue extends React.PureComponent {
|
|||||||
dispatch({
|
dispatch({
|
||||||
type: "geneset: create",
|
type: "geneset: create",
|
||||||
name: genesetName,
|
name: genesetName,
|
||||||
genes: _.pull(_.uniq(genesToPopulateGeneset.split(/[ ,]+/)), "") || null,
|
genes: genesToPopulateGeneset
|
||||||
|
? _.pull(_.uniq(genesToPopulateGeneset.split(/[ ,]+/)), "")
|
||||||
|
: null,
|
||||||
});
|
});
|
||||||
dispatch({
|
dispatch({
|
||||||
type: "geneset: disable create geneset mode",
|
type: "geneset: disable create geneset mode",
|
||||||
|
|||||||
Reference in New Issue
Block a user