Skip to content

Commit 90f6497

Browse files
committed
Merge branch 'pr/1127'
2 parents 10e98ef + b122369 commit 90f6497

File tree

1 file changed

+2
-1
lines changed
  • frontends/web/src/routes/account/summary

1 file changed

+2
-1
lines changed

frontends/web/src/routes/account/summary/chart.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ class Chart extends Component<Props, State> {
8787
|| prev.dataHourly.length !== dataHourly.length
8888
)
8989
) {
90-
this.lineSeries.setData(dataDaily);
90+
const data = this.state.source === 'hourly' ? dataHourly : dataDaily;
91+
this.lineSeries.setData(data);
9192
}
9293
}
9394

0 commit comments

Comments
 (0)