🐛 Réparation du passage de période

barème-continu
Mael 2018-12-17 11:45:06 +01:00
parent 34e4bb2b9e
commit db4bdf76f9
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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)
}