Skip to content

Commit

Permalink
ADM-1007 [frontend]: fix the bug that the dora chart index doesn't up…
Browse files Browse the repository at this point in the history
…date
  • Loading branch information
zhou-yinyuan committed Oct 8, 2024
1 parent a1cc604 commit b522c88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/containers/ReportStep/ReportContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,10 @@ const ReportContent = (props: ReportContentProps) => {
setDisplayType(DISPLAY_TYPE.CHART);
if (shouldShowBoardMetricsChart) {
setPageType(REPORT_PAGE_TYPE.BOARD_CHART);
setChartIndex(CHART_INDEX.BOARD);
} else {
setPageType(REPORT_PAGE_TYPE.DORA_CHART);
setChartIndex(CHART_INDEX.DORA);
}
}
};
Expand Down

0 comments on commit b522c88

Please sign in to comment.