Skip to content

Commit

Permalink
ui,reports: Handle absent data points gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
jhf committed Oct 25, 2024
1 parent f7a2f1a commit 3c4e6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/app/reports/drill-down-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const DrillDownChart = ({
_chart.current?.destroy();
_chart.current = chart({
chart: {
height: (BASE_HEIGHT+ROW_HEIGHT*points.length),
height: (BASE_HEIGHT+ROW_HEIGHT*(points?.length ?? 0)),
renderTo: _ref.current,
events: {
drilldown: (e) =>
Expand Down

0 comments on commit 3c4e6ca

Please sign in to comment.