🐛 répare le crash de l'app en cas de salaire saisi inferieur au controle lors d'une modification pendant la simulation

pull/294/head
Johan Girod 2018-07-24 11:22:12 +02:00 committed by Mael
parent 1799d4c0ab
commit e5ab35ab5e
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import React, { Component } from 'react'
export default function withLanguage(WrappedComponent) {
return class WithLanguage extends Component {

View File

@ -143,7 +143,7 @@ let initialAnalysisSelector = createSelector(
let currentMissingVariablesByTargetSelector = createSelector(
[analysisValidatedOnlySelector],
analysis => collectMissingVariablesByTarget(analysis.targets)
analysis => analysis.targets ? collectMissingVariablesByTarget(analysis.targets) : []
)
export let missingVariablesByTargetSelector = createSelector(