diff --git a/source/components/pages/RulesList.js b/source/components/pages/RulesList.js index 6dd539484..60715191d 100644 --- a/source/components/pages/RulesList.js +++ b/source/components/pages/RulesList.js @@ -62,8 +62,10 @@ export class SearchBar extends React.Component { let { selectedOption } = this.state if (selectedOption != null) { - this.props.finally() - return + this.props.finally && this.props.finally() + return ( + + ) } return ( <> diff --git a/source/engine/mecanismViews/common.js b/source/engine/mecanismViews/common.js index bdcacee76..f5d4a4857 100644 --- a/source/engine/mecanismViews/common.js +++ b/source/engine/mecanismViews/common.js @@ -45,11 +45,11 @@ export class Node extends React.Component { } // Un élément du graphe de calcul qui a une valeur interprétée (à afficher) -export let Leaf = ({ classes, name, value }) => ( +export let Leaf = ({ classes, dottedName, name, value }) => ( - {name && ( + {dottedName && ( - + {capitalise0(name)} diff --git a/source/engine/traverse.js b/source/engine/traverse.js index 41fbdd68a..810196fc8 100644 --- a/source/engine/traverse.js +++ b/source/engine/traverse.js @@ -183,7 +183,12 @@ let fillVariableNode = (rules, rule, filter) => parseResult => { dottedName = disambiguateRuleReference(rules, rule, variablePartialName) let jsx = nodeValue => ( - + ) return {