diff --git a/src/app/examiner/review-files/review-files.component.ts b/src/app/examiner/review-files/review-files.component.ts index 2009c48..2c15f82 100644 --- a/src/app/examiner/review-files/review-files.component.ts +++ b/src/app/examiner/review-files/review-files.component.ts @@ -76,7 +76,7 @@ export class ReviewFilesComponent implements OnInit { await new Promise((resolve,reject)=>{ this.http.get(`/api/ExaminationPlans`,{params:params}).subscribe(data => { item.planList = data - item.planList.forEach(element => { this.paperType == 1? item.planScore = item.planScore + element.paperPlanInfo.score : item.planScore = item.planScore + element.score }); + item.planList.forEach(element => { item.planScore = item.planScore + element.paperPlanInfo.score }); if(type == false){ const config = new MatSnackBarConfig(); config.verticalPosition = 'top';