From 772251a8267bb801f69adac1de6eb948434305a5 Mon Sep 17 00:00:00 2001 From: mama Date: Thu, 18 Jan 2018 16:54:24 +0100 Subject: [PATCH] =?UTF-8?q?:bug:=20Correction=20du=20bug=20choix=20net=20-?= =?UTF-8?q?>=20choix=20brut=20->=205000=E2=82=AC=20->=20undefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #141 --- source/components/Simulateur.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/components/Simulateur.js b/source/components/Simulateur.js index 7cc374531..d9fd05aad 100644 --- a/source/components/Simulateur.js +++ b/source/components/Simulateur.js @@ -55,6 +55,7 @@ export default class extends Component { targetNames = encodedTargets.split('+').map(decodeRuleName) this.targetNames = targetNames + this.targetRules = reject(isNil)( targetNames.map(name => findRuleByName(rules, name)) ) @@ -76,7 +77,6 @@ export default class extends Component { currentQuestion, situationGate, themeColours, - targetNames, inputInversions, done } = this.props, @@ -106,13 +106,13 @@ export default class extends Component { currentQuestion && this.buildStep({ unfolded: true })( situationGate, - targetNames, + this.targetNames, inputInversions )(currentQuestion), foldedSteps: map( this.buildStep({ unfolded: false })( situationGate, - targetNames, + this.targetNames, inputInversions ), foldedSteps