🐛 répare le crash de l'app en cas de salaire saisi inferieur au controle lors d'une modification pendant la simulation
parent
1799d4c0ab
commit
e5ab35ab5e
|
@ -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 {
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue