diff --git a/source/components/CDD.js b/source/components/CDD.js index c1a00afd1..252303ba5 100644 --- a/source/components/CDD.js +++ b/source/components/CDD.js @@ -12,7 +12,7 @@ import Aide from './Aide' let situationSelector = formValueSelector('conversation') @reduxForm( - {form: 'conversation'} + {form: 'conversation', destroyOnUnmount: false} ) @connect(state => ({ situation: variableName => situationSelector(state, variableName), diff --git a/source/components/Results.js b/source/components/Results.js index abe0c45de..41830d078 100644 --- a/source/components/Results.js +++ b/source/components/Results.js @@ -5,23 +5,26 @@ import {Link} from 'react-router' export default class Results extends Component { render() { let {analysedSituation} = this.props + // missingVariables = collectMissingVariables(analysedSituation, 'groupByResult') return (

Vos obligations

+ {console.log('analysedSituation', analysedSituation)}