From 70c9dc28994419bd159a7015d77f64ba346b5b7d Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 11 Apr 2019 16:54:52 +0200 Subject: [PATCH] =?UTF-8?q?Ajoute=20un=20hook=20pour=20persister=20l'?= =?UTF-8?q?=C3=A9tat=20du=20l'avertissement=20sur=20les=20simulateurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + Amélioration du flow utilisateur --- source/selectors/analyseSelectors.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/selectors/analyseSelectors.js b/source/selectors/analyseSelectors.js index 0d682b6e3..5b7fd63e5 100644 --- a/source/selectors/analyseSelectors.js +++ b/source/selectors/analyseSelectors.js @@ -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(