🐛 Formattage correct des règles avec formule

pull/400/head
Mael 2018-10-12 10:51:50 +00:00
parent 7232738ba3
commit 58f8c1d88a
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Rule extends Component {
{displayedRule.nodeValue ? (
<div id="ruleValue">
<i className="fa fa-calculator" aria-hidden="true" />{' '}
{displayedRule.format === 'euros'
{displayedRule.format === 'euros' || displayedRule.formule
? Intl.NumberFormat(language, {
style: 'currency',
currency: 'EUR'