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 {