diff --git a/packages/lib/src/components/results/ChartComponent.wc.svelte b/packages/lib/src/components/results/ChartComponent.wc.svelte index 5d7b37d3..d2582b7b 100644 --- a/packages/lib/src/components/results/ChartComponent.wc.svelte +++ b/packages/lib/src/components/results/ChartComponent.wc.svelte @@ -542,7 +542,10 @@ } else { childCategorie.criteria.forEach( (criterion: Criteria) => { - if (criterion.key === label) { + if ( + criterion.key === label || + criterion.name === label + ) { values[0] = { name: criterion.name, value: criterion.key,