From 08ebe5498ecb69ef1eae7df4d4be937d0ecb5754 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 24 Mar 2021 13:29:41 +0100 Subject: [PATCH] =?UTF-8?q?enl=C3=A8ve=20les=20variables=20manquantes=20da?= =?UTF-8?q?ns=20la=20demande=20mobilit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mon-entreprise/source/pages/Gérer/DemandeMobilite/index.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mon-entreprise/source/pages/Gérer/DemandeMobilite/index.tsx b/mon-entreprise/source/pages/Gérer/DemandeMobilite/index.tsx index f2ffc9953..c39ced1ca 100644 --- a/mon-entreprise/source/pages/Gérer/DemandeMobilite/index.tsx +++ b/mon-entreprise/source/pages/Gérer/DemandeMobilite/index.tsx @@ -145,11 +145,6 @@ function FormulairePublicodes() { ({ dottedName }) => !isEmpty(engine.evaluate(dottedName).missingVariables) ) - const missingValues = fields - .map(({ dottedName }) => dottedName) - .filter( - (dottedName) => !isEmpty(engine.evaluate(dottedName).missingVariables) - ) return ( {fields.map( @@ -209,7 +204,6 @@ function FormulairePublicodes() { - {missingValues.join(' / ')} {!!Object.keys(situation).length && (