Skip to content

Commit

Permalink
Merge pull request #152 from samply/fix/chart_clicking
Browse files Browse the repository at this point in the history
Fix/chart clicking
  • Loading branch information
patrickskowronekdkfz authored Dec 2, 2024
2 parents ea6fa89 + 76c0586 commit 4e90004
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/lib/src/components/results/ChartComponent.wc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4e90004

Please sign in to comment.