Skip to content

Commit

Permalink
Merge pull request #152 from betagouv/fix-bug-retour-objectifs
Browse files Browse the repository at this point in the history
🐛 Correction du bug choix net -> choix brut -> 5000€ -> undefined
  • Loading branch information
laem authored Jan 18, 2018
2 parents 9a57066 + 772251a commit 45288b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/components/Simulateur.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
)
Expand All @@ -76,7 +77,6 @@ export default class extends Component {
currentQuestion,
situationGate,
themeColours,
targetNames,
inputInversions,
done
} = this.props,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 45288b8

Please sign in to comment.