Skip to content

Commit

Permalink
hack: this commit will fix the issue with wrong coding at some site. …
Browse files Browse the repository at this point in the history
…This should be removed A$AP.
  • Loading branch information
patrickskowronekdkfz committed Jan 10, 2024
1 parent 926e16f commit 861cc0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lib/src/components/results/ChartComponent.wc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@
): { labels: string[]; data: number[] } => {
const groupedChartData: { label: string; value: number }[] =
labels.reduce((acc, label) => {
// This is a hack! This will help with the wrong coding of ICD10
label = label.replaceAll("_", ".")
/**
* see if the label contains the divider
* if not, add it to the accumulator with a .% at the end
Expand Down

0 comments on commit 861cc0d

Please sign in to comment.