diff --git a/source/engine/mecanismViews/Barème.js b/source/engine/mecanismViews/Barème.js index c1dd15485..1847832ed 100644 --- a/source/engine/mecanismViews/Barème.js +++ b/source/engine/mecanismViews/Barème.js @@ -7,8 +7,9 @@ import './Barème.css' import classNames from 'classnames' import { ShowValuesConsumer } from 'Components/rule/ShowValuesContext' import withLanguage from 'Components/utils/withLanguage' +import { identity } from 'ramda' -export let BarèmeAttributes = ({ explanation, lazyEval }) => ( +export let BarèmeAttributes = ({ explanation, lazyEval = identity }) => ( <>
  • @@ -151,6 +152,6 @@ let Tranche = ({ } //eslint-disable-next-line -export default barèmeType => (nodeValue, explanation, lazyEval) => ( +export default barèmeType => (nodeValue, explanation, lazyEval = identity) => ( )