Ajoute un hook pour persister l'état du l'avertissement sur les simulateurs

+ Amélioration du flow utilisateur
pull/513/head
Johan Girod 2019-04-11 16:54:52 +02:00 committed by Mael
parent 0c3e8d1661
commit 70c9dc2899
1 changed files with 2 additions and 3 deletions

View File

@ -189,15 +189,14 @@ export let exampleAnalysisSelector = createSelector(
let makeAnalysisSelector = situationSelector =>
createDeepEqualSelector(
[parsedRulesSelector, targetNamesSelector, situationSelector],
(parsedRules, targetNames, situations) => {
return mapOrApply(
(parsedRules, targetNames, situations) =>
mapOrApply(
situation =>
analyseMany(parsedRules, targetNames)(dottedName => {
return situation[dottedName]
}),
situations
)
}
)
export let analysisWithDefaultsSelector = makeAnalysisSelector(