From e2a4410986cd51e81c4569db713b3fa94bc5f737 Mon Sep 17 00:00:00 2001 From: Brajesh Kumar Date: Fri, 6 Oct 2023 12:24:34 +0530 Subject: [PATCH] #2004 - extended the summary to include average in Educational material --- .../educational-material.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/child-dev-project/children/educational-material/educational-material-component/educational-material.component.ts b/src/app/child-dev-project/children/educational-material/educational-material-component/educational-material.component.ts index 953a012890..c73b156d38 100644 --- a/src/app/child-dev-project/children/educational-material/educational-material-component/educational-material.component.ts +++ b/src/app/child-dev-project/children/educational-material/educational-material-component/educational-material.component.ts @@ -110,8 +110,7 @@ export class EducationalMaterialComponent implements OnInit { labelData.sum += amount; } } - - // Calculate averages and build summary strings + const summaryArray: string[] = []; const avgSummaryArray: string[] = [];