Skip to content

Commit

Permalink
Fix loading report (#537)
Browse files Browse the repository at this point in the history
* feat(ui-fix-loading-report): ui-fix-loading-report

ui-fix-loading-report

* fix(fix-loading-report): fix-loading-reportfix-loading-report

Co-authored-by: manorlahagani <manorl@bigid.com>
  • Loading branch information
manorlh and manorll authored Nov 1, 2020
1 parent 379ced4 commit be4143d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/features/components/Report/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ class Report extends React.Component {
const loadingMode = this.isLoadingMode(this.props.report.status);

if (!loadingMode) {
this.props.getAggregateReports();
const {report} = this.props;
this.props.getAggregateReports([{ testId: report.test_id, reportId: report.report_id }])
this.setState({ finishLoadingMode: prevState.loadingMode });
}
}
Expand Down

0 comments on commit be4143d

Please sign in to comment.