From 4753e1f53594fcd2156bb4dccaf78b347abd0645 Mon Sep 17 00:00:00 2001 From: mama Date: Wed, 17 Jan 2018 16:11:14 +0100 Subject: [PATCH] =?UTF-8?q?Les=20r=C3=A9sultats=20niveau=201=20sont=20arro?= =?UTF-8?q?ndis=20=C3=A0=20l'entier=20pr=C3=A8s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/rule/RuleValueVignette.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/components/rule/RuleValueVignette.js b/source/components/rule/RuleValueVignette.js index 945a4e70e..98fd90dc1 100644 --- a/source/components/rule/RuleValueVignette.js +++ b/source/components/rule/RuleValueVignette.js @@ -2,7 +2,6 @@ import React from 'react' import { Link } from 'react-router-dom' import { encodeRuleName } from 'Engine/rules' import classNames from 'classnames' -import { capitalise0 } from '../../utils' let fmt = new Intl.NumberFormat('fr-FR').format export let humanFigure = decimalDigits => value => fmt(value.toFixed(decimalDigits)) @@ -45,7 +44,7 @@ let RuleValue = ({ unsatisfied, irrelevant, conversationStarted, ruleValue }) => ? ['irrelevant', "Vous n'êtes pas concerné"] : unsatisfied ? ['unsatisfied', 'En attente de vos réponses...'] - : ['figure', humanFigure(2)(ruleValue) + ' €'] + : ['figure', humanFigure(0)(ruleValue) + ' €'] { /*

Pourquoi ?

*/