🐛 Pas de conversation, d'avancement quand contrôle bloquant
parent
b1bbb53370
commit
75558ba51e
|
@ -35,12 +35,13 @@ export default class Simu extends Component {
|
|||
<FoldedSteps />
|
||||
<GoToAnswers />
|
||||
<TargetSelection colours={colours} />
|
||||
{conversationStarted && (
|
||||
<>
|
||||
<ProgressTip />
|
||||
<Conversation textColourOnWhite={colours.textColourOnWhite} />
|
||||
</>
|
||||
)}
|
||||
{conversationStarted &&
|
||||
!blockingInputControls && (
|
||||
<>
|
||||
<ProgressTip />
|
||||
<Conversation textColourOnWhite={colours.textColourOnWhite} />
|
||||
</>
|
||||
)}
|
||||
{!noUserInput && !blockingInputControls && <GoToExplanations />}
|
||||
</div>
|
||||
{!noUserInput && !blockingInputControls && <ResultView />}
|
||||
|
|
|
@ -126,7 +126,8 @@ export default class TargetSelection extends Component {
|
|||
{...{
|
||||
target,
|
||||
conversationStarted,
|
||||
isActiveInput: activeInput === target.dottedName
|
||||
isActiveInput: activeInput === target.dottedName,
|
||||
blockingInputControls
|
||||
}}
|
||||
/>
|
||||
<TargetInputOrValue
|
||||
|
@ -159,12 +160,18 @@ export default class TargetSelection extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
let Header = ({ target, conversationStarted, isActiveInput }) => {
|
||||
let Header = ({
|
||||
target,
|
||||
conversationStarted,
|
||||
isActiveInput,
|
||||
blockingInputControls
|
||||
}) => {
|
||||
return (
|
||||
<span className="header">
|
||||
{conversationStarted && (
|
||||
<ProgressCircle target={target} isActiveInput={isActiveInput} />
|
||||
)}
|
||||
{conversationStarted &&
|
||||
!blockingInputControls && (
|
||||
<ProgressCircle target={target} isActiveInput={isActiveInput} />
|
||||
)}
|
||||
|
||||
<span className="texts">
|
||||
<span className="optionTitle">
|
||||
|
|
Loading…
Reference in New Issue