From ff01f9f93c904c4935dfcdd96f6c9b98043f4186 Mon Sep 17 00:00:00 2001 From: mama Date: Tue, 13 Feb 2018 18:08:24 +0100 Subject: [PATCH] Simplification du texte de changement d'objectifs --- source/components/Results.js | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/source/components/Results.js b/source/components/Results.js index 9a6d781fa..14a9d54ba 100644 --- a/source/components/Results.js +++ b/source/components/Results.js @@ -24,11 +24,17 @@ import { findRuleByDottedName } from 'Engine/rules.js' @translate() export default class Results extends Component { render() { - let { flatRules, analysis, conversationStarted, done, themeColours } = this.props - let withFlatRule = rule => ({ - ...rule, - flatRule: findRuleByDottedName(flatRules, rule.dottedName) - }) + let { + flatRules, + analysis, + conversationStarted, + done, + themeColours + } = this.props + let withFlatRule = rule => ({ + ...rule, + flatRule: findRuleByDottedName(flatRules, rule.dottedName) + }) if (!analysis) return null @@ -44,7 +50,9 @@ export default class Results extends Component {