Skip to content

Commit

Permalink
🪲 Fix line chart tooltip names.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGilg committed Jan 21, 2025
1 parent 682d706 commit fe8dd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/LineChartContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function LineChartContainer() {

lines.push({
seriesId: id,
name: scenarios?.find((scenario) => scenario.id === id)?.name,
name: scenariosState[id].name,
visible: true,
stroke: {
color: scenariosState[id]?.colors[0] ?? 'transparent',
Expand Down

0 comments on commit fe8dd92

Please sign in to comment.