From 6e46a65c3233689f783f6b4e4fa366ce5f1143b3 Mon Sep 17 00:00:00 2001 From: Bruce Martin Date: Thu, 1 Nov 2018 14:24:49 -0700 Subject: [PATCH] fix add gene action format bug (#398) --- client/src/actions/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/actions/index.js b/client/src/actions/index.js index 35bf49f1..2f1ddf3b 100644 --- a/client/src/actions/index.js +++ b/client/src/actions/index.js @@ -180,7 +180,10 @@ const requestUserDefinedGene = gene => async (dispatch, getState) => { /* then send the success case action through */ return dispatch({ type: "request user defined gene success", - data + data: { + genes: [gene], + expression: data[gene] + } }); } catch (error) { return dispatch({