diff --git a/CHANGELOG.md b/CHANGELOG.md index a0755b13c40..a93ee008eb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ non-ascii paths while adding files from "Connected file share" (issue #4428) - A trailing slash in hostname does't allow SDK to send some requests () - Double modal export/backup a task/project () +- Fixed bug of computing Job's unsolved/resolved issues numbers () ### Security - TDB diff --git a/cvat-ui/src/components/task-page/job-list.tsx b/cvat-ui/src/components/task-page/job-list.tsx index 9172ef77f80..4dc930802f5 100644 --- a/cvat-ui/src/components/task-page/job-list.tsx +++ b/cvat-ui/src/components/task-page/job-list.tsx @@ -33,8 +33,8 @@ function ReviewSummaryComponent({ jobInstance }: { jobInstance: any }): JSX.Elem .issues(jobInstance.id) .then((issues: any[]) => { setSummary({ - issues_unsolved: issues.filter((issue) => !issue.resolved_date).length, - issues_resolved: issues.filter((issue) => issue.resolved_date).length, + issues_unsolved: issues.filter((issue) => !issue.resolved).length, + issues_resolved: issues.filter((issue) => issue.resolved).length, }); }) .catch((_error: any) => {