From e2f83340947d6ce1c35cb6a602334354febe548f Mon Sep 17 00:00:00 2001 From: mama Date: Fri, 17 Nov 2017 13:06:24 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9paration=20de=20bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/Simulateur.js | 3 ++- source/components/conversation/Input.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/components/Simulateur.js b/source/components/Simulateur.js index ce4e99fb6..68b4d54c6 100644 --- a/source/components/Simulateur.js +++ b/source/components/Simulateur.js @@ -47,7 +47,8 @@ export default class extends Component { // C'est ici que la génération du formulaire, et donc la traversée des variables commence // if (!existingConversation) //TODO - this.props.startConversation(targetNames) + if (this.props.foldedSteps.length === 0) + this.props.startConversation(targetNames) } render() { //TODO diff --git a/source/components/conversation/Input.js b/source/components/conversation/Input.js index 2e9351f3e..4f199aec0 100644 --- a/source/components/conversation/Input.js +++ b/source/components/conversation/Input.js @@ -89,7 +89,7 @@ export default class Input extends Component { return (