🐛 Réparation du passage de période
parent
34e4bb2b9e
commit
db4bdf76f9
|
@ -35,9 +35,7 @@ export default compose(
|
|||
} = this.props
|
||||
return (
|
||||
<div id="ComparativeSimulation" className="ui__ container">
|
||||
<header>
|
||||
<p>{createMarkdownDiv(simulationConfig.titre)}</p>
|
||||
</header>
|
||||
<header>{createMarkdownDiv(simulationConfig.titre)}</header>
|
||||
<div id="simulationContent">
|
||||
{!isEmpty(previousAnswers) && (
|
||||
<button
|
||||
|
|
|
@ -86,13 +86,12 @@ let updateSituation = (toPeriod, batchPeriodChange, situation, rules) => {
|
|||
: do {
|
||||
throw new Error('Oups, changement de période invalide')
|
||||
}
|
||||
)
|
||||
) + ''
|
||||
),
|
||||
needConvertion
|
||||
),
|
||||
change('conversation', 'période', toPeriod)
|
||||
]
|
||||
console.log({ actions })
|
||||
|
||||
batchPeriodChange(actions)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue