mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 20:08:13 +08:00
fix add gene action format bug (#398)
This commit is contained in:
@@ -180,7 +180,10 @@ const requestUserDefinedGene = gene => async (dispatch, getState) => {
|
|||||||
/* then send the success case action through */
|
/* then send the success case action through */
|
||||||
return dispatch({
|
return dispatch({
|
||||||
type: "request user defined gene success",
|
type: "request user defined gene success",
|
||||||
data
|
data: {
|
||||||
|
genes: [gene],
|
||||||
|
expression: data[gene]
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return dispatch({
|
return dispatch({
|
||||||
|
|||||||
Reference in New Issue
Block a user