From 61e11a648b7cfa3789ac0a6fec619ec836d3967f Mon Sep 17 00:00:00 2001 From: mama Date: Wed, 18 Oct 2017 10:45:20 +0200 Subject: [PATCH] =?UTF-8?q?Corrige=20le=20pb=20de=20la=20double=20modifica?= =?UTF-8?q?tion=20de=20r=C3=A9ponse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/reducers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reducers.js b/source/reducers.js index abb6fd44f..d735f25ff 100644 --- a/source/reducers.js +++ b/source/reducers.js @@ -97,7 +97,7 @@ export let reduceSteps = (state, action) => { ReactPiwik.push(['trackEvent', 'unfold', action.step]); let stepFinder = R.propEq('name', action.step), - foldedSteps = R.reject(stepFinder)(state.foldedSteps), + foldedSteps = R.reject(stepFinder)(state.foldedSteps).concat(state.unfoldedSteps), extraSteps = R.reject(stepFinder)(state.extraSteps) return {