From 4657bc8eaa6ca0c7395ba6ca8351fe7a543d95a3 Mon Sep 17 00:00:00 2001 From: Brajesh Kumar Date: Fri, 6 Oct 2023 12:38:31 +0530 Subject: [PATCH] #2004 - extended the summary to include average in Educational material --- .../educational-material.component.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 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 c73b156d38..1f6a0d23ba 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 @@ -22,7 +22,11 @@ import { RouteData } from "app/core/config/dynamic-routing/view-config.interface @Component({ selector: "app-educational-material", templateUrl: "./educational-material.component.html", - imports: [EntitySubrecordComponent,NgIf,NgFor], + imports: [ + EntitySubrecordComponent, + NgIf, + NgFor + ], standalone: true, }) export class EducationalMaterialComponent implements OnInit { @@ -110,7 +114,7 @@ export class EducationalMaterialComponent implements OnInit { labelData.sum += amount; } } - + const summaryArray: string[] = []; const avgSummaryArray: string[] = [];