demo-contrôles
Mael 2019-02-12 16:27:41 +01:00
parent e0577f9def
commit 32fa9b3459
2 changed files with 5 additions and 9 deletions

View File

@ -138,6 +138,11 @@ export let treatRuleRoot = (rules, rule) => {
nodeValue
} = evaluatedFormula
// if isApplicable === true
// evaluateControls
// attache them to the node for further usage
// do not output missingVariables for now
let condMissing =
isApplicable === false
? {}

View File

@ -217,15 +217,6 @@ let analysisValidatedOnlySelector = makeAnalysisSelector(
validatedSituationBranchesSelector
)
export let blockingInputControlsSelector = state => {
let analysis = analysisWithDefaultsSelector(state)
return analysis && analysis.blockingInputControls
}
export let validInputEnteredSelector = createSelector(
[noUserInputSelector, blockingInputControlsSelector],
(noUserInput, blockingInputControls) => !noUserInput && !blockingInputControls
)
// TODO this should really not be fired twice in a user session...
//
// TODO the just input salary should be in the situation so that it is not a missing variable