Skip to content

Commit

Permalink
fix key in sunburst chart loop
Browse files Browse the repository at this point in the history
Fix #1598
Fix #1718
  • Loading branch information
yagebu committed Dec 24, 2023
1 parent f9b2ac1 commit e9987d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/charts/HierarchyContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<Treemap data={treemap} {currency} {width} />
{:else if mode === "sunburst"}
<svg {width} height={500}>
{#each [...data] as [chart_currency, d], i (currency)}
{#each [...data] as [chart_currency, d], i (chart_currency)}
<g transform={`translate(${(width * i) / currencies.length},0)`}>
<Sunburst
data={d}
Expand Down

0 comments on commit e9987d1

Please sign in to comment.