demo-contrôles
parent
e0577f9def
commit
32fa9b3459
|
@ -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
|
||||
? {}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue