From 6dd3122f3bf9aa785c243d06a1acdced63ef405a Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Fri, 17 May 2019 17:45:55 +0200 Subject: [PATCH] =?UTF-8?q?Les=20suggestions=20apparaissent=20peut=20impor?= =?UTF-8?q?te=20la=20p=C3=A9riode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../conversation/InputSuggestions.js | 50 +++++++++++-------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/source/components/conversation/InputSuggestions.js b/source/components/conversation/InputSuggestions.js index 910bde2d1..723b1382e 100644 --- a/source/components/conversation/InputSuggestions.js +++ b/source/components/conversation/InputSuggestions.js @@ -2,9 +2,9 @@ import withColours from 'Components/utils/withColours' import { compose, toPairs } from 'ramda' import React, { Component } from 'react' import { withTranslation } from 'react-i18next' -import './InputSuggestions.css' import { connect } from 'react-redux' import { formValueSelector } from 'redux-form' +import './InputSuggestions.css' export default compose( withColours, @@ -28,31 +28,37 @@ export default compose( } = this.props if (!suggestions) return null - //TODO all suggestions are defined for a monthly simulation - if (rulePeriod === 'flexible' && period !== 'mois') return null + return (
suggestions:
)