Affichage du champ de saisie seulement s'il y a une question
parent
53fc852cb6
commit
2446622cca
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue