From 664a5128f577eead97c07f33a47fdb602088080a Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mauguet Date: Wed, 29 Nov 2023 13:08:48 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=C3=A9cart=20valeur=20absolue=20was=20hi?= =?UTF-8?q?dden=20wrongly=20(#1890)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index-egapro/simulateur/(funnel)/indicateur2et3/Form.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/app/src/app/(default)/index-egapro/simulateur/(funnel)/indicateur2et3/Form.tsx b/packages/app/src/app/(default)/index-egapro/simulateur/(funnel)/indicateur2et3/Form.tsx index da25af637..10c518ed7 100644 --- a/packages/app/src/app/(default)/index-egapro/simulateur/(funnel)/indicateur2et3/Form.tsx +++ b/packages/app/src/app/(default)/index-egapro/simulateur/(funnel)/indicateur2et3/Form.tsx @@ -233,7 +233,9 @@ export const Indic2and3Form = () => { text={ <> Écart en valeur absolue :{" "} - {computed?.result ? percentFormat.format(computed.result / 100) : ""} + + {computed?.result !== undefined ? percentFormat.format(computed.result / 100) : ""} + } />