Affichage du champ de saisie seulement s'il y a une question

pull/206/head
Mael 2018-03-19 15:17:08 +01:00 committed by Laurent Bossavit
parent 53fc852cb6
commit 2446622cca
1 changed files with 3 additions and 2 deletions

View File

@ -165,7 +165,7 @@ export default class TargetSelection extends Component {
name={s.dottedName}
component="input"
type="text"
placeholder="mon salaire"
placeholder="mon--require salaire"
autoFocus
/>
{this.props.targets.length > 0 && (
@ -179,7 +179,8 @@ export default class TargetSelection extends Component {
<>
<span
className={classNames('targetValue', {
attractClick: this.props.targets.length === 0
attractClick:
s.question && this.props.targets.length === 0
})}
onClick={() => {
// this.props.setConversationTargets(